LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   quota checking (https://www.linuxquestions.org/questions/debian-26/quota-checking-109381/)

swmok 10-28-2003 03:31 AM

quota checking
 
Hello All:

As a root, I can setquota and check the quota of all general users.

As a general user, I CANNOT check my quota by the command
"quota"

The err msg is:

quota: Can't open quotafile //aquota.user: Permission denied
Disk quotas for user pig (uid 1000): none

The attribute is:
-rw------- 1 root root 7168 Oct 28 17:23 aquota.user

What should I do now?

Thanks.

mok

BittaBrotha 10-29-2003 01:35 AM

Try the full path of quota, ie: /sbin/quota or whatever the full path of quota is located at!

jim mcnamara 10-31-2003 01:41 PM

should be

-rw-r--r-- 1 root root 7168 Oct 28 17:23 aquota.user

or world read.

quota -v gives you space & file count used/remaining

adz 11-01-2003 12:43 AM

Where is this file? Is it in your home directory or is it one file for all users. What you can do in either case is make sure you're part of the "root" group and then do a chmod 640 aquota.user or try 644 if you want world readable.


All times are GMT -5. The time now is 05:22 AM.