How this is possible?
ACL is not enabled in
/etc/fstab
, and I can verify it via manually openingfstab
or runningsudo mount | grep -i acl
.But
getfacl
&setfacl
Commands would work without any complains!
The problem is, first I need to understand why this is working, and second I need to check other systems to see if ACL support is available on them or not, so how can I do that?
ACL commands were tested on both /
& /mydrive
(see below for mount
output).
OS Info:
uname -a
:
Linux localhost 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
lsb_release -a
:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.5 (wheezy)
Release: 7.5
Codename: wheezy
mount
:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=384309,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=308664k,mode=755)
/dev/disk/by-uuid/3180f94a-e765-44e9-93f7-33aa1c6422c0 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1188500k)
/dev/sda5 on /mydrive type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tune2fs -o noacl
doesn't work andnoacl
in/etc/mke2fs.conf
is ignored (at least with e2fsprogs 1.42.10) – Stéphane Chazelas Jun 09 '14 at 12:41mount_opts
attribute that stores strings. – Bachsau Mar 26 '22 at 12:43mount_opts
you're refering to are the options handled by the FS driver. One of them is noacl so the user can tell the driver to disable ACLs for the mount of that FS. – Stéphane Chazelas Mar 26 '22 at 19:58