- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
let target_dir's new file/dir test_group permission base on read & write
add NFS mount acl option on boot
if you get error msg that setfacl: /target_dir: Operation not supported,
the target_dir maybe mount by NFS,so change your mount settings.
$ sudo setfacl -R -d -m g:test_group:rw /target_dir
add NFS mount acl option on boot
$ sudo vim /etc/fstab
UUID=xxxxx /target_dir ext4 defaults,acl 1 1
if you get error msg that setfacl: /target_dir: Operation not supported,
the target_dir maybe mount by NFS,so change your mount settings.
$ sudo mount -o remount,acl /target_dir
留言