ACL - confused

There is a package called "acl" for manipulating ACL's, but there is no ACL support for ext4 in OpenWrt. I would like to have it for fine-tuning samba share permissions.

Advice, please!

root@owrt-vm:~# mount -o remount,acl /mnt/data
root@owrt-vm:~# 

root@owrt-vm:~# dmesg | tail -n 2
[ 7563.152030] EXT4-fs (md0): acl option not supported
[ 7563.164731] EXT4-fs (md0): re-mounted. Opts: stripe=4,data=ordered,acl
root@owrt-vm:~#

root@owrt-vm:~# tune2fs -l /dev/md0 | grep acl
Default mount options:    user_xattr acl
root@owrt-vm:~#

root@owrt-vm:~# setfacl -m u:nobody:rwx /mnt/data/
setfacl: /mnt/data/: Not supported
root@owrt-vm:~#

ACL's are not enabled by default for OpenWrt builds. You need to do you own builds with the ACL kernel options enabled (it's kind of buried too IIRC).

2 Likes

Thank you for the info.
I think I can live without ACL's, I will arrange permissions by normal access controls.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.