X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 7 Jul 2008 15:02:52 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: chmod permission denied on windows 2008 Message-ID: <20080707130252.GB25687@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20080703125758 DOT GC10582 AT calimero DOT vinschen DOT de> <9519CD6573CA4B378AB436808C330A8C AT multiplay DOT co DOT uk> <20080704085528 DOT GH10582 AT calimero DOT vinschen DOT de> <83D9FB620178474D8B7E673F8BE88FBF AT multiplay DOT co DOT uk> <6C897634739C412CA4367B8530734B2F AT multiplay DOT co DOT uk> <20080707093546 DOT GA6791 AT calimero DOT vinschen DOT de> <910CB48BB8D549278A018EEC77702BAC AT multiplay DOT co DOT uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <910CB48BB8D549278A018EEC77702BAC@multiplay.co.uk> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jul 7 11:02, Steven Hartland wrote: > ----- Original Message ----- From: "Corinna Vinschen" >>> I've attached the output from whoami in both cases. A privaledege >>> missing from the sshd_server user may be? Note: ssh was installed >>> with a slightly older than latest version of cygwin so if this has >>> changed to support 2008 recently that could be where my problem lies. >> No, it hasn't changed but there might be a problem in the seteuid() >> function when running on 2008. I'll investigate. >> When you login through ssh, are you using password or pubkey auth? > > Pubkey auth, if there's anything I can do to help please let me know. After further looking into this issue I fear I can't do anything against that in Cygwin 1.5.25 anymore. There is a strange privilege issue when using impersonation tokens starting with Windows Vista. The root of the problem seems to be UAC. Cygwin 1.5.25 is using impersonation tokens quite heavily. Due to this problem I dropped all the forced impersonation token usage from 1.7, so the issue will be fixed in Cygwin 1.7 as far as I can see from my tests. The only thing you might try is to switch off UAC entirely on that system and try again. I'm not sure if that helps since I can't test this right now. If you could try and report back? Other than that, maybe using the (not yet production) Cygwin 1.7 is an option for you. You can install a 1.7-based distro over your 1.5 distro using another setup.exe: http://cygwin.com/setup-1.7.exe Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/