delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/07/05:36:08

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 <corinna-cygwin AT cygwin DOT com>
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: <E0174AD446AE4AF786ED30C69C9529CC AT multiplay DOT co DOT uk> <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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019