[rsbac] quotacheck versus rsbac.dat

Amon Ott rsbac@rsbac.org
Fri Dec 27 13:05:00 2002


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