/usr/local, /var and */tmp in c:\Users\Public

Andrey Repin anrdaemon@yandex.ru
Thu Nov 13 23:20:00 GMT 2014


Greetings, Corinna Vinschen!

>> > Just to pick a random example:
>> > 
>> > $ ls -l /bin/ls.exe
>> > -rwxrwxr-x 1 Warren None 116253 Oct 13 10:12 /bin/ls.exe
>> > 
>> > The same file’s permissions, from Windows’ perspective:
>> > 
>> > http://etr-usa.com/cygwin/ls-perms.png
>> 
>> icacls output would be more helpful than a picture.
>> 
>> However, this isn't really a problem.  The group permissions are
>> apparently faked by Cygwin, they don't reflect the reality.  I just
>> don't remember why this is done, it's probably old.  Have to check...

> Btw., I never saw this happen.  Did you install for "just you", or
> in a non-elevated Setup?  In my case the permissions make at least
> sense, even if my own account still has full access:

>   $ ls -l /bin/ls.exe
>   -rwxr-xr-x 1 corinna vinschen 116253 Oct 13 18:12 /bin/ls.exe

Curious. Same for me.
Win7/64 with 64-bit Cygwin default (elevated) install.


$ LANG=C ls -l /bin/ls
-rwxr-xr-x 1 anrdaemon None 116253 Oct 13 19:12 /bin/ls

$ LANG=C ls -l /bin/ls.exe
-rwxr-xr-x 1 anrdaemon None 116253 Oct 13 19:12 /bin/ls.exe


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 14.11.2014, <02:13>

Sorry for my terrible english...


More information about the Cygwin mailing list