FF bug


From: Amon Ott <ao@rsbac.org>
Subject: FF bug
Date: Fri, 1 Sep 2000 09:55:42 +0200

Next Article (by Subject): Finally "Paul D. Robertson"
Previous Article (by Subject): Errorcodes.htm ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date] [Author] [Subject]


Hi again!

There is an old File Flags bug in all versions including 1.0.9b, which allows
DELETE of a read-only or search-only file. Other requests are not affected.
Please apply the following patch against rsbac/adf/ff/ff_main.c.

Amon.

--- ff_main.c~	Mon Feb 14 17:14:08 2000
+++ ff_main.c	Fri Sep  1 09:54:47 2000
@@ -191,6 +191,7 @@
         case R_WRITE:
             switch(target)
               {
+                case T_FILE:
                 case T_DIR: 
                   return(check_flags_ff(target,tid,
                                         FF_read_only | FF_search_only));
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Subject): Finally "Paul D. Robertson"
Previous Article (by Subject): Errorcodes.htm ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.