[PATCH] vfs default quota module

Stefan (metze) Metzmacher metze at metzemix.de
Fri Jun 13 11:24:00 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.

If test it now...


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


More information about the samba-technical mailing list