[PATCH] smbd: Fix a debug message

Christof Schmitt christof.schmitt at us.ibm.com
Fri Aug 23 13:54:42 MDT 2013


On Fri, Aug 23, 2013 at 11:11:16AM -0700, Jeremy Allison wrote:
> On Thu, Aug 22, 2013 at 04:28:12PM +0200, Volker Lendecke wrote:
> > Hi!
> > 
> > Attached find a trivial patch.
> > 
> > Question -- why is reading the quota a root-only operation?
> 
> Bug caused by cut-n-paste from the set quota code I'd
> guess :-).

Usually a user is only allowed to read its own quota, and root is
allowed to read all quotas (the Linux quotactl man page says that for
Q_GETQUOTA). Maybe the code intends to implement the same behavior,
although it might be useful to allow certain cifs users or groups to
list all the quotas.

-- 
Christof Schmitt || IBM || SONAS System Development || Tucson, AZ
christof.schmitt at us.ibm.com  ||  +1-520-799-2469  (T/L: 321-2469)



More information about the samba-technical mailing list