Disk Quota Issue (Exceeded but Unable to restrict)
Hi everyone,
I installed Diskquota on CentOS 5.1 machine,
I enabled quota for some user with 1 GB as both hard and soft limits, Grace period is 0.
Every this is working fine if we work from normal user's login say (user1 who is a system user). If he exceeds 1GB its will restrict that saying quota exceeded.
But, If root user copies some 500MB files into his workspace, and change the ownership of those files using following command
chown user1.user1 * ( * is 500 MB files).
Then quota is exceeded and it is showed using
repquota /home
user1 +- 2039960 997020 997020 none 298 0 0
here its showing as some 2GB.
Note: soft limit is 951 MB.
So, my problem is restrict quota from all possible ways, ie even if root does some copying and change permissions, it must tell that disc quota exceeded, I was unable to find solution.
Kindly help me regarding this issue, ThanK U in advance.
|