LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-28-2003, 04:31 AM   #1
swmok
Member
 
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
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
 
Old 10-29-2003, 02:35 AM   #2
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Try the full path of quota, ie: /sbin/quota or whatever the full path of quota is located at!
 
Old 10-31-2003, 02:41 PM   #3
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
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
 
Old 11-01-2003, 01:43 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
quota jrafalek Linux - Software 2 03-04-2005 02:23 AM
quota jsheffie SUSE / openSUSE 2 02-24-2005 09:00 AM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 12:13 PM
How to Quota jcb_dreamvsat Linux - General 2 07-16-2003 04:56 AM
quota on RH 7.3 keevitaja Linux - Newbie 5 08-17-2002 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration