Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Immutable flag on /quota.user for CentOS 7 cPanel servers

Discussion in 'General Discussion' started by movielad, Apr 4, 2016.

  1. movielad

    movielad Well-Known Member

    Joined:
    May 14, 2003
    Messages:
    109
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Is it normal for CentOS 7 cPanel servers to set the immutable flag on /quota.user? Whenever I try to change the immutable flag, I get the following:

    root@cp [~]# chattr -i /quota.user

    chattr: Operation not permitted while setting flags on /quota.user


    But if I run /scripts/fixquotas, the following appears in the output

    Updating Quota Files......

    quotacheck: Scanning /dev/root [/] quotacheck: Old group file name could not been determined. Usage will not be subtracted.

    quotacheck: Checked 22809 directories and 167268 files

    quotacheck: Quota file //quota.user has IMMUTABLE flag set. Clearing.

    done

    ....Done


    The only reason I ask is that there have been occasions the quota hasn't been updated in a while and running the above script fixes it.

    Thanks,

    Martyn
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you verify which filesystem type is utilized for your root directory? EX:

    Code:
    df -T
    We recommend using the XFS or ext4 filesystems with CentOS 7.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice