posix acl issue
From: Fabio Coatti
Date: Wed Sep 26 2018 - 15:52:45 EST
I'm seeing a weird behaviour wrt posix acl.
Basically it seems that they are not working, even though ACLs are enabled for
all the filesystems on my machine.
attrs are working just fine for the same files.
> getfacl pippo
# file: pippo
# owner: cova
# group: cova
> setfacl -m other::r-- pippo
setfacl: pippo: Malformed access ACL `other::r--': Missing or wrong entry at
also, udev uaccess rules are not applied and systemd-udevd spits out this
(this is when inserting a yubikey)
systemd-udevd: Failed to apply ACL on /dev/hidraw4: Invalid argument
kernel ACL setup:
zcat /proc/config.gz | grep ACL
attrs seems to be ok:
> setfattr -n user.foo -v bar pippo
> getfattr pippo
# file: pippo
I tested this behaviour wit btrfs, tmpfs and ext4(ext2);
dmesg reports that acl mount option is recognized :
EXT4-fs (dm-6): mounted filesystem with ordered data mode. Opts: acl
but mount output seems to tell something different:
/dev/mapper/vg0-test on /root/tt type ext4 (rw,relatime)
and proc tells something even different:
Kernel is 4.18.10, but I tried several kernels on 4.18 and 4.17 series, no
I'm running a gentoo machine, with vanilla sources so no external patches.
I checked all possible kernel config options and whatnot without finding
Likely I'm missing something obvious, but after several days diggin I got no
clues, so I would be glad of any hint or suggestions about where to look.
(please, keep me cc'ed in any answer).
Many thanks for any help.