public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Rene Salmon <rsalmon@tulane.edu>
To: xfs@oss.sgi.com
Cc: Rene Salmon <rsalmon@tulane.edu>
Subject: get xfs_quota info as regular user
Date: Tue, 28 Nov 2006 09:20:03 -0600	[thread overview]
Message-ID: <C191AFC3.1D43%rsalmon@tulane.edu> (raw)

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

             reply	other threads:[~2006-11-28 15:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 15:20 Rene Salmon [this message]
2006-11-28 23:55 ` get xfs_quota info as regular user Donald Douwsma
2006-11-29 14:03   ` Rene Salmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C191AFC3.1D43%rsalmon@tulane.edu \
    --to=rsalmon@tulane.edu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox