Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-15-2009, 06:46 AM   #1
Chris E
Registered: Jun 2008
Location: Berkshire, UK.
Distribution: CentOS
Posts: 31

Rep: Reputation: 2
Unhappy Permission Denied when trying to view another users quota


I'm basically building up a backup platform for our users, basically SSH, FTP, Rsync and a shell management script + web interface to go with it.

I am running apache as "webuser" and I need to be able to pull up quotas for all users on the server.

I can view the quotas for "webuser" fine but if I try to view quota of any other user I get "Permission Denied".

I've not really used quotas manually without a control panel before so I am not exactly sure how I can set permissions so this user "webuser" can view the quotas for all users?

Command being simply: quota -u username

Any help would be really appreciated


Edit: Sorry mods this is in the wrong forum..

Last edited by Chris E; 03-15-2009 at 06:48 AM.
Old 03-16-2009, 12:59 PM   #2
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
Only the root account user should be able to see all users data. Mucking with group memberships or changing the application to be run setuid root to accomplish this should be avoided: check out Sudo and see if that works for you.


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 error - permission denied? Tim356 Red Hat 7 10-30-2008 09:13 AM
permission denied /dev/snd for non root users rob.rice Slackware 2 08-09-2008 11:00 PM
Root denied permission to remove users' files suse_buse Linux - Security 2 10-25-2006 08:26 AM
"Permission Denied" for normal users on physical console brycebent Linux - Security 5 07-14-2005 11:42 PM
useradd problems - permission denied on /home/* for new users lowpro2k3 Red Hat 1 02-09-2004 11:18 PM > Forums > Linux Forums > Linux - Software

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

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