chown with not existing user/group

Matthieu CASTET
Thu Feb 28 15:30:00 GMT 2008


Dave Korn <dave.korn <at>> writes:

>   Because it has to emulate unix perms by relating uid/gid to windows RIDs,
which are owned, allocated and
> controlled by the system, and not under the arbitrary choice of the user, so
the semantics wouldn't be the
> same even if we did create ACLs with unrecognised SIDs on them.
Ha, I forgot cygwin remaps them on windows perms.

But then why does it works if I create dummy user in /etc/passwd.
For example for root

$ echo "root:*:0:0:,S-1-5-32-545::" >> /etc/passwd
$ chown root:root /tmp/toto
$ ls -l /tmp/toto
-rw-r--r-- 1 root root 0 Feb 28 14:49 /tmp/toto

Does it means in this case I create "ACLs with unrecognised SIDs" ?


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list