Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: quocdung2891 on January 12, 2016, 01:46:07 AM
-
Hi all,
In GUI user "Disk space" not work. Althought, user used about 100M. But always see like this
(http://i65.tinypic.com/35aq7lt.jpg)
When i try "Update quota for all users using this package, also disables inode limits". I recived error message setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota
How to fix it ? :(
-
Hello.
Check if disk quota are isntalled and works.
You can do that in CWP.Admin: "Server Settings" -> "Disk Quota"
-
Hi Igor S Thank your reply.
After installed disk quota. When I used account user logon (http://i68.tinypic.com/2ci8bx1.jpg). Althought in this account i didn't upload anything. What is problem and how to fix it ?.
-
Might be a similar problem like I had:
Serious file owning issues (CWP Users own installation files) (http://forum.centos-webpanel.com/centos-webpanel-bugs/quotas-stack-up-(new-users-inherits-quotas-of-existing-users)/msg5747/#msg5747)
They planned to fix that, but you might be still affected by that problem.
Basically use
repquota -a -s
to see the quota.
And use
find / --user <username> | less
To see which files the user owns.
If it's a normal CWP user that owns installation files that root should own instead, you need to fix those directories / files with
chown (and maybe chmod too).
Both commands have a option for recursion (-R), but read the manual in case you don't know them already.
Basically I changed the ownership to root:root (so user and group is root) for the files that were not in /home/<username>
and then fixed permissions with chmod as I thought it would be approiate (o-rwx).
-
When i used command "find / --user <username> | less". I saw too many file and folder not belong /home/user. Must change one by one ? . it too hard :(. have any another solution ?