xfs
[Top] [All Lists]

Re: Enforcing quota for root user

To: Dave Chinner <david@xxxxxxxxxxxxx>, Chris Murphy <lists@xxxxxxxxxxxxxxxxx>
Subject: Re: Enforcing quota for root user
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 11 Nov 2014 16:36:43 -0600
Cc: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20141111223203.GS28565@dastard>
References: <67EDE14C-CCFB-4B42-8B78-FC6C813CD19A@xxxxxxx> <5461B333.8050609@xxxxxxxxxxxxxxxxx> <F7ACFF71-460D-40E7-999C-BFC8D232EA81@xxxxxxx> <54622CE8.7050508@xxxxxxxxxxxxxxxxx> <631A9090-F9FE-4B8E-88CD-1B30CAFC65B7@xxxxxxxxxxxxxxxxx> <20141111223203.GS28565@dastard>
On 11/11/14 4:32 PM, Dave Chinner wrote:
> On Tue, Nov 11, 2014 at 11:00:25AM -0700, Chris Murphy wrote:
>>
>> On Nov 11, 2014, at 8:36 AM, Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx> wrote:
>>
>>> On 11/11/2014 04:22 AM, Cyril Scetbon wrote:
>>>> That's what I've read first, but someone showed me a sample where it 
>>>> works. He just told me he was using project quota. However, does it make 
>>>> sense ? 
>>>> I've also read somewhere else that quota is never enforced for root user 
>>>> (id,gid=0) that's why I was testing it ....
>>>
>>> No, it doesn't make sense.  Why would you want to enforce quotas for root?
>>
>> A week ago I tried this and project quotas appear to apply to root.
> 
> By intent and design. Project quotas are not a user/group based
> quota and so there is no exemption for any user.

However, at least according to the manpage, "project ID 0" is not
enforced.  Granted, that is not a *user* exception.

-Eric

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