[rsbac] quotacheck versus rsbac.dat

cnf rsbac@rsbac.org
Fri Dec 27 13:31:01 2002


dont think so

i tested on one of the user accounts with quota set to 100MB (102400k)
and tried copying a divx to the users homedir as that user

quota cut it off at exactly 100 MB (102400k)

so it seems to work adequatly ...

anyone else have a different experience with this ?

all it sais is Cannot get exact used space... Results MIGHT be
inaccurate.

i assume it means it can NOT enforce quota in said dir, which, as far as
i can see, would not be a prob, right ?

anyway, pls post your ideas on this :-)

On Fri, 2002-12-27 at 13:04, Amon Ott wrote:
> On Monday 23 December 2002 19:02, Pallai Roland wrote:
> >  the quotacheck doesn't run on partitions which have rsbac.dat and rsbac
> > is enabled.. it's a big problem for me, makes impossible to use disk
> > quotas with rsbac..
> > 
> > EverDream:/home# quotacheck -V
> > Quota utilities version 3.04.
> > EverDream:/home# quotacheck -f -m -F vfsold /home
> > Cannot get exact used space... Results might be inaccurate.
> > quotacheck: Cannot open file rsbac.dat: Operation not permitted
> > EverDream:/home#
> > 
> >  can't be rsbac.dat hidden or virtually empty?? there'll much less junk
> > messages in the syslog too (eg. if somebody do a 'find /', then 6 line
> > gets logged, terrible!)..
> 
> It would need some ugly code to actually hide the dir entries. Alternatively, 
> we could grant SEARCH, READ and GET_STATUS_DATA for the internal dirs and 
> files, but this option should not be on by default.
> 
> Does the quota check really fail completely just because of a single dir?
> 
> Amon.
> --
> http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22
> _______________________________________________
> rsbac mailing list
> rsbac@rsbac.org
> http://www.rsbac.org/mailman/listinfo/rsbac
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html