X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 7 Jul 2008 11:35:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: chmod permission denied on windows 2008 Message-ID: <20080707093546.GA6791@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6C897634739C412CA4367B8530734B2F@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 4 23:21, Steven Hartland wrote: > Sorry seems I missed one critical element here. I thought I was doing > all the tests under a cygwin prompt but in fact the chown's I was > doing under an ssh'ed prompt. It works under a cygwin prompt on the > desktop but fails when I'm ssh'ed in. So this actually looks like it > may be a problem with ssh under 2008? > > 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? 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/