How to configure ACL Manager in HC Linux?

How to configure ACL Manager in HC Linux?

Solution

To enable and configure ACL (Access Control Lists) on HC Linux, follow the steps below.

Step 1: Install the ACL Package

Ensure the ACL package is installed on your system.

  • Fedora / CentOS / Red Hat
  • yum install acl
  • Debian / Ubuntu
  • apt-get install acl

Step 2: Update the /etc/fstab File

ACL must be enabled on the filesystem where your webspace resides.

  1. Open the file:
  2. vi /etc/fstab
  3. Locate the line corresponding to the mount point where your webspace exists.
    • For example, if your webspace is /webspace and it resides on the root (/) filesystem, modify the line for the / mount point.
  4. In the fourth column (mount options), add usrquota,acl.

Examples

CentOS:

LABEL=/   /   ext3    defaults,usrquota,acl   1   1

Debian:

# /etc/fstab: static file system information.

UUID=06b2aae3-b525-4a4c-9549-0fc6045bd08e   /    ext4   errors=remount-ro,usrquota,acl   0   1

Step 3: Apply the Changes

Save the file and reboot the system for the changes to take effect. ACL support will now be enabled on the specified filesystem.