Index: linux-2.4.29-rsbac-v1.2.3/rsbac/data_structures/aci_data_structures.c
===================================================================
--- linux-2.4.29-rsbac-v1.2.3/rsbac/data_structures/aci_data_structures.c	(Revision 137)
+++ linux-2.4.29-rsbac-v1.2.3/rsbac/data_structures/aci_data_structures.c	(Arbeitskopie)
@@ -14836,9 +14836,12 @@
                         struct rsbac_res_fd_aci_t def_aci = DEFAULT_RES_FD_ACI;
 
                         if(memcmp(&aci, &def_aci, sizeof(aci)))
-                        err = rsbac_list_add(device_p->handles.res[res_fd_hash(tid.file.inode)],
-                                             &tid.file.inode,
-                                             &aci);
+                          err = rsbac_list_add(device_p->handles.res[res_fd_hash(tid.file.inode)],
+                                               &tid.file.inode,
+                                               &aci);
+                        else
+                          err = rsbac_list_remove(device_p->handles.res[res_fd_hash(tid.file.inode)],
+                                                  &tid.file.inode);
                       }
                   }
                   break;
