Windows Server NFS, getfact not working on NFS
Sam Edge
sam.edge.cygwin@gmx.com
Sun Oct 27 09:27:09 GMT 2024
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.
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.
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::---
--
Sam Edge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8AC2CEBF54528E30.asc
Type: application/pgp-keys
Size: 648 bytes
Desc: OpenPGP public key
URL: <https://cygwin.com/pipermail/cygwin/attachments/20241027/99073589/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://cygwin.com/pipermail/cygwin/attachments/20241027/99073589/attachment.sig>
More information about the Cygwin
mailing list