public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* get xfs_quota info as regular user
@ 2006-11-28 15:20 Rene Salmon
  2006-11-28 23:55 ` Donald Douwsma
  0 siblings, 1 reply; 3+ messages in thread
From: Rene Salmon @ 2006-11-28 15:20 UTC (permalink / raw)
  To: xfs; +Cc: Rene Salmon

Hi,


Did some searches on the list archives but could not find any useful info on
this.

Is there a way for a regular user to get info about his or her quota usage?

I tried both of these as a regular user and get nothing:

120> xfs_quota -c "quota userid"
121> xfs_quota -x -c "quota userid"

But if I log in as root I can manage to get the info I need:

# xfs_quota -c "quota userid"
Disk quotas for User userid (17080)
Filesystem              Blocks      Quota      Limit  Warn/Time      Mounted
on
/dev/vg_u00/lv_u00     1691516   10240000   10291200   00 [--------] /u00
/dev/vg_u01/lv_u01     4272876   10240000   10291200   00 [--------] /u01
Disk quotas for User userid (17080)
Filesystem              Blocks      Quota      Limit  Warn/Time      Mounted
on
/dev/vg_u00/lv_u00     1691516   10240000   10291200   00 [--------] /u00
/dev/vg_u01/lv_u01     4272876   10240000   10291200   00 [--------] /u01


Is there any way to allow users to check their quotas with out being root?

Thanks
Rene




-- 
        Rene Salmon
        Tulane University
        Center for Computational Science
        http://www.ccs.tulane.edu
        rsalmon@tulane.edu
        Tel 504-862-8393
        Fax 504-862-8392

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-22  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 15:20 get xfs_quota info as regular user Rene Salmon
2006-11-28 23:55 ` Donald Douwsma
2006-11-29 14:03   ` Rene Salmon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox