[PATCH] vfs default quota module

Stefan (metze) Metzmacher metze at metzemix.de
Wed Jun 11 09:51:57 GMT 2003


Hi Alexander,

here's the default quota vfs module.

there are the following paramter's:

default_quota: uid = 0
default_quota: uid nolimit = yes
default_quota: gid = 0
default_quota: gid nolimit = yes


uid is the uid of the quota record where the default quotas should be stored.

uid nolimit = yes means that process run as uid have the capability to 
ignore disk quotas.

and the quota calls for uid will return disk space unlimited.

if uid nolimit = no, then the default quota limit is shown for uid too.



THIS PATCH NEEDS TESTING!!!

I have not tested it yet, if someone has time
feedback is welcome.



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-default-quota-01.diff
Type: application/octet-stream
Size: 8369 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030611/884cbae5/3_0-default-quota-01.obj


More information about the samba-technical mailing list