[X-Unix] re: quotas - My math stinks!

Eric F Crist ecrist at secure-computing.net
Fri Jan 9 09:52:02 PST 2009


Try running, as root, checkquota -a.

Eric

On Jan 9, 2009, at 11:43 AM, Charles Howse wrote:

> larry:~ root# find /Users/randi -false -user randi -exec ls -lah {} \;
> [Found a GaZillion]
> larry:~ root# find /Users/randi -false -user randi -exec chown -R  
> randi:staff * {} \;
> larry:~ root#
> larry:~ root# find /Users/randi -false -user randi -exec ls -lah {} \;
> larry:~ root#
> larry:~ root# du -dk1 /Users/randi
> 4683248	/Users/randi
> larry:~ root#
> larry:~ root# repquota -u /
>                        1K Block limits               File limits
> User                used        soft        hard  grace    used   
> soft  hard  grace
> _spotlight--          32           0           0              5      
> 0     0
> _lp       --          72           0           0             13      
> 0     0
> _teamsserver--        1636           0           0            
> 1403     0     0
> 505       --         580           0           0             12      
> 0     0
> _xgridagent--           0           0           0              2      
> 0     0
> _mdnsresponder--          52           0           0               
> 4     0     0
> _unknown  --           0           0           0             11      
> 0     0
> _amavisd  --           8           0           0              6      
> 0     0
> _installer--      138252           0           0             48      
> 0     0
> _uucp     --        1520           0           0             10      
> 0     0
> _xgridcontroller--           0           0           0               
> 2     0     0
> daemon    --           0           0           0              3      
> 0     0
> charles   --    20089480           0           0          71889      
> 0     0
> _clamav   --       61636           0           0             33      
> 0     0
> _postfix  --           0           0           0             36      
> 0     0
> _update_sharing--       22644           0           0              
> 13     0     0
> nobody    --        8564           0           0              7      
> 0     0
> _securityagent--         252           0           0              
> 10     0     0
> randi     +-     2351400     2000000     2000000   none    1709      
> 0     0
> _atsserver--        8188           0           0              5      
> 0     0
> larry:~ root#
>
> Still have a problem :(
>
> On Jan 9, 2009, at 11:20 AM, Eric F Crist wrote:
>
>> On Jan 9, 2009, at 11:15 AM, Charles Howse wrote:
>>
>>> BINGO!!!!!  EUREKA!!!  THREE CHEERS, TWO BENCHES!!!
>>> That's it.  Her files belong to me.
>>> I'll chown them to her, and run du and repquota again, and report  
>>> back.
>>>
>>> Thanks SO much, Eric.
>>>
>>> On Jan 9, 2009, at 10:51 AM, Eric F Crist wrote:
>>>
>>>> find /Users/randi -false -user randi
>>
>>
>> Quotas are often confused as based on directory structure, rather  
>> than file ownership.  Glad I could help.
>>
>> ---
>> Eric Crist
>>
>>
>>
>>
>> _______________________________________________
>> X-Unix mailing list
>> X-Unix at listserver.themacintoshguy.com
>> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix

---
Eric Crist






More information about the X-Unix mailing list