delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/11/06:02:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 11 Jan 2002 12:02:24 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: chown problem
Message-ID: <20020111120224.Z12057@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020111105607 DOT 91112 DOT qmail AT web21207 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20020111105607.91112.qmail@web21207.mail.yahoo.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Jan 11, 2002 at 10:56:07AM +0000, Tiffany Chan wrote:
> Cygwin 1.3.3 installed in d:\
> "UserA" and "UserB" in same group "GroupAB"
> UserA's home is in e:\home\UserA;
> ownership=UserA:GroupAB; mode=755
> 
> In e:\home\UserA,
> rwxrwxrwx UserA:GroupAB DirOne
> 
> In w2k security tabs, I saw :
> 	Owner of DirOne = UserA
> 	Mode		= Everyone rwx
> 			= UserA	   rxw
> 			= GroupAB  rwx	
> 
> When UserA change owner,
> $ chown UserB:GroupAB DirOne
> chown: changing ownership "DirOne": permission denied
> 
> But in w2k security tabs, I saw
> 	Owner of DirOne = UserA
> 	Mode		= Everyone rwx
> 			= UserB	   rxw
> 			= GroupAB  rwx	
> 
> Why ownership cannot be changed by UserA ? I tried use
> "chmod" by administrator, it work very well. Is it
> related to "local policy" in w2k ( I tried to add
> UserA and UserB for taking ownership, but it also not
> works) ?

Try that on Linux:

UserA> chown UserB foo
chown: changing ownership of `foo': Operation not permitted

Only Admins may do that and that's better so.  I don't
know exactly if "Take ownership" policy is sufficient
to change that behaviour on NT but I would try to reboot.

Otherwise search MSDN.  Perhaps you can find a hint.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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