Greetings, Sam Edge via Cygwin! > On 27/10/2024 09:03, Andrey Repin via Cygwin wrote: >> It will only work inside Cygwin root tree, or on mounts with "acl" flag.
> I beg to differ. I can read ACLs from a Linux Samba server without > requiring an explicit 'acl' entry in /etc/fstab and from the default > cygdrive NTFS automatic mounts as well. That's because "acl" is the default. Which is, again, a bad idea in general. > So there must be another reason why Cygwin is reporting his Windows NFS > server shares as not supporting ACLs when mounting from Linux can see the > ACLs. No? > $ mount > C:/Users/ANRDAE~1/AppData/Local/Temp on /tmp type ntfs > (binary,posix=0,usertemp) > C:/Programs/Cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/Programs/Cygwin/lib on /usr/lib type ntfs (binary,auto) > C:/Programs/Cygwin on / type ntfs (binary,auto) > W: on /run type ntfs (binary,posix=0) > C: on /mnt/c type ntfs (binary,noacl,posix=0,noumount,auto) > D: on /mnt/d type ntfs (binary,noacl,posix=0,noumount,auto) > E: on /mnt/e type ntfs (binary,noacl,posix=0,noumount,auto) > F: on /mnt/f type ntfs (binary,noacl,posix=0,noumount,auto) > Y: on /mnt/y type smbfs (binary,noacl,posix=0,noumount,auto) > Z: on /mnt/z type smbfs (binary,noacl,posix=0,noumount,auto) > > $ ls -ld /etc/networks > lrwxrwxrwx 1 anrdaemon Administrators 44 Jan 12 2024 /etc/networks -> > /mnt/c/Windows/System32/drivers/etc/networks > > $ getfacl /etc /etc/networks > # file: /etc > # owner: anrdaemon > # group: Administrators > user::rwx > group::r-x > other::r-x > default:user::rwx > default:group::r-x > default:other::r-x > > getfacl: /etc/networks: Not supported > samedge@gwaihir ~ > $ cat /etc/fstab > none /cygdrive cygdrive binary,posix=0,user 0 0 > samedge@gwaihir ~ > $ cat /proc/mounts > C:/cygwin64/bin /usr/bin ntfs binary,auto 1 1 > C:/cygwin64/lib /usr/lib ntfs binary,auto 1 1 > C:/cygwin64 / ntfs binary,auto 1 1 > C: /cygdrive/c ntfs binary,posix=0,user,noumount,auto 1 1 > samedge@gwaihir ~ > $ getfacl //bapple/video > # file: //bapple/video > # owner: Unix_User+0 > # group: Unix_Group+0 > user::rwx > user:Unix_User+33:r-x > group::r-x > group:Unix_Group+33:r-x > group:Unix_Group+100:r-x > group:Unix_Group+121:rwx > mask::rwx > other::r-x > default:user::rwx > default:user:Unix_User+33:r-x > default:group::r-x > default:group:Unix_Group+33:r-x > default:group:Unix_Group+100:r-x > default:group:Unix_Group+121:rwx > default:mask::rwx > default:other::r-x > samedge@gwaihir ~ > $ getfacl /cygdrive/c/ > # file: /cygdrive/c/ > # owner: NT SERVICE+TrustedInstaller > # group: NT SERVICE+TrustedInstaller > user::--- > group::--- > group:Authenticated Users:--- > group:SYSTEM:rwx #effective:r-x > group:Administrators:rwx #effective:r-x > group:Users:r-x > mask::r-x > other::--- > default:user::--- > default:group::--- > default:group:Authenticated Users:rwx > default:group:SYSTEM:rwx > default:group:Administrators:rwx > default:group:Users:r-x > default:mask::rwx > default:other::--- -- With best regards, Andrey Repin Sunday, October 27, 2024 13:47:56 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple