Listing 6. Using Mlibc (Constable configuration)

for unlink "/tmp/delme" {
        force "/home/robo/devel/medusa/exitme";
        answer = NO;
}

Output Messages

[[email protected] /root]# id
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[[email protected] /root]# cd /tmp
[[email protected] /tmp]# ls -l delme
-rw-rw-r--   1 robo     robo     0 Jan 25 23:08 delme
[[email protected] /tmp]# rm delme
rm: remove `delme'? y
[[email protected] /tmp]# echo $?
0
[[email protected] /tmp]# ls -l delme
-rw-rw-r--   1 robo     robo     0 Jan 25 23:08 delme