How to configure ACL Manager in HC Linux?

Question: How to configure ACL Manager in HC Linux?

Solution:  
If you are getting error while setting ACL Permissions from Tools :: ACL Manager then make sure about following steps:

    1. Enable ACL from Host level at this path Server Manager :: Global setting :: Linux. 

    2. ACL package must be installed on machine. Following is the command to install ACL package:
        Fedora/CentOS/RedHat:     yum install acl
        
Debian / Ubuntu : apt-get install acl

    3. Take backup using following command:
       cp  /etc/fstab /etc/fstab.bk

      View the file using cat /etc/fstab

      Standard output for CentOS fstab file

     LABEL=/ / ext3 defaults 1 1   
     LABEL=/boot /boot ext3 defaults 1 2
     tmpfs /dev/shm tmpfs defaults 0 0
     devpts /dev/pts devpts gid=5,mode=620 0 0
     sysfs /sys sysfs defaults 0 0
     proc /proc proc defaults 0 0
    LABEL=SWAP-sda2 swap swap pri=0,defaults 0 0

    
   Now modify the line which contains the mount point where your webspace exists. For example if your webspace is /webspace, now this exists at mount point / so you have to change the line that contains / mount point. To set acl    and userquota on this mount point add ,userquota,acl in the fourth column.   

   LABEL=/ / ext3 defaults,usrquota,acl 1 1
   LABEL=/boot /boot ext3 defaults 1 2
   tmpfs /dev/shm tmpfs defaults 0 0
   devpts /dev/pts devpts gid=5,mode=620 0 0
   sysfs /sys sysfs defaults 0 0
   proc /proc proc defaults 0 0
  LABEL=SWAP-sda2 swap swap pri=0,defaults 0 0

Reboot the Linux Server.

  

 

Add Feedback