Greetings,
I was just wondering if I can set or lists acls recursively on specific
directories? Could find an easy answer to this in the man pages or on the internet.
I couldn't find the usual '-R' option for setfacl
Is there another way to do this; if possible easily? I'm using ACLs on UFS, not on NFSv4.
The only way i found was this:
or
The reason I want to be able to do this is because ACL permissions are only inerhited while copying a file to a directory that has this set already. When moving files permissions will not be set automatically obviously. Copying large files takes a long time. I use ACL permissions on FreeBSD9 for my NAS system. various directories are shared for DLNA purposes for example. The miniDLNA program user needs user rights on the files shared. I don't want to run miniDLNA as root, by default it's using 'dlna' on FreeBSD.
Thanks,
Conzales
I was just wondering if I can set or lists acls recursively on specific
directories? Could find an easy answer to this in the man pages or on the internet.
I couldn't find the usual '-R' option for setfacl
Is there another way to do this; if possible easily? I'm using ACLs on UFS, not on NFSv4.
The only way i found was this:
# find . -type f -exec setfacl -m xxx {} \;
or
# find . -type d -exec setfacl -d -m u::,g::,o::,g:rrr:rwx {} \;
The reason I want to be able to do this is because ACL permissions are only inerhited while copying a file to a directory that has this set already. When moving files permissions will not be set automatically obviously. Copying large files takes a long time. I use ACL permissions on FreeBSD9 for my NAS system. various directories are shared for DLNA purposes for example. The miniDLNA program user needs user rights on the files shared. I don't want to run miniDLNA as root, by default it's using 'dlna' on FreeBSD.
Thanks,
Conzales