Closed kgara closed 1 year ago
Have not done anything with acls yet. I would look for ext4 in config...maybe another option is needed for it
Any ideas? So far have to use another sbc nearby just for the sake of acl's...
acl does not depend on hardware....if you have another sbc/pc running with acl just compare kernel-config to get the possible option missing in my config
zcat /proc/config.gz
tested on my debian-bullseye system
root@bpi-r2:~# uname -a
Linux bpi-r2 6.3.0-rc1-bpi-r2-sfp #1 SMP Tue Mar 7 20:03:39 CET 2023 armv7l GNU
/Linux
root@bpi-r2:~# zgrep -i 'acl' /proc/config.gz
# CONFIG_XILINX_EMACLITE is not set
CONFIG_EXT4_FS_POSIX_ACL=y
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_BTRFS_FS_POSIX_ACL is not set
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_FS_POSIX_ACL=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFS_ACL_SUPPORT=y
root@bpi-r2:~# apt install acl
root@bpi-r2:~# mount -o remount,acl /
[ 72.885881] EXT4-fs (mmcblk0p2): re-mounted 83746542-38aa-4ab4-ae7e-722e5775.
root@bpi-r2:~# setfacl -R -m group:users:rwX /system/etc/firmware/
root@bpi-r2:~# getfacl /system/etc/firmware/
getfacl: Removing leading '/' from absolute path names
# file: system/etc/firmware/
# owner: root
# group: root
user::rwx
group::r-x
group:users:rwx
mask::rwx
other::r-x
maybe you need to set acl filesystem-option for your mountpoint (/mnt/md3tlocal/tmp/)? or maybe tmp directory is a tmpfs??
Have no idea why ACL's does not work, but it is kinda might be useful for network storage part of f-ty.
Any ideas? Kernel seems to be build with the support of EXT4 ACL's. Is it?
Thanks in advance.