[rsbac] about ACL masks

Amon Ott ao at rsbac.org
Tue Sep 11 17:12:15 CEST 2007


On Tuesday 11 September 2007 16:40, Fix wrote:
> Is there any reason why rsbac_acl_menu does not allow to change ACL
> mask for DIR? $ acl_mask -s 0000000000000... DIR /path/to
> works fine.
>
> $ grep -A5 ^check_mask_rights /usr/bin/rsbac_acl_menu
> check_mask_rights () {
>   if test "$TYPE" = DIR
>   then
>     return
>   elif test "$TYPE" = "DEV"
>   then

No reason, this is a bug. Masks are only forbidden on :DEFAULT:.

Please send me a diff -u, and I will check it into svn.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list