Mail Archives: cygwin/2002/01/11/06:02:48
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 -