xfs
[Top] [All Lists]

get xfs_quota info as regular user

To: <xfs@xxxxxxxxxxx>
Subject: get xfs_quota info as regular user
From: Rene Salmon <rsalmon@xxxxxxxxxx>
Date: Tue, 28 Nov 2006 09:20:03 -0600
Cc: Rene Salmon <rsalmon@xxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: AccTAK0x687OBH7zEdu/5gAKlXZa5g==
Thread-topic: get xfs_quota info as regular user
User-agent: Microsoft-Entourage/11.2.5.060620
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@xxxxxxxxxx
        Tel 504-862-8393
        Fax 504-862-8392



<Prev in Thread] Current Thread [Next in Thread>