Posts

Showing posts with the label Setfacl

the result of "setfacl --modify" will get reverted after a reboot

 The `setfacl` command is used to set file access control lists (ACLs) on a file or directory. If you're finding that the changes made with `setfacl --modify` are not persistent after a reboot, it might be due to the default ACL settings or the file system type you're using. Here are a few considerations: 1. **File System Type**: Not all file systems support ACLs, and support for ACLs can vary between different filesystems. Ensure that you're using a filesystem that supports ACLs, like ext4 or XFS on Linux. 2. **Default ACLs**: Some filesystems, like ext4, support default ACLs. These default ACLs can be applied to newly created files and directories. If you're setting ACLs on a directory, make sure you're also setting any necessary default ACLs if you want them to be applied to new files and directories created within that directory. 3. **Boot Scripts or Configuration**: Some operating systems or distributions have scripts or configuration files that reset file perm