// // Sample configuration file. // (C) 1999 Marek Zelem // (C) 1999 Martin Ockajak // (C) 1999,2000 Milan Pikula // This comes as a part of the Medusa DS9 package. // /* * Try to play with * touch /tmp/delme1 ; rm /tmp/delme1 * Constable is only visible, if you don't remove /tmp/delme1 (you are * moved into another subsystems then) */ on init { vs = 0b0000000011111111; // constable is in second half of spaces vss = 0xffff; // and sees everything vsr = 0xffff; vsw = 0xffff; } recursive for set "/" // files are in all virtual spaces vs=0b1111111111111111; recursive for set "/usr/local/etc/medusa" vs=0b0000000000000001; for unlink "/tmp/delme1" { vss /= 0b0000000011111111; apply = A_PARENT; answer = NO; } /* initialisation */ on exec { if (flags != 0x1234) { vs = 0xffff; vss = 0xffff; vsr = 0xffff; vsw = 0xffff; flags = 0x1234; } fsact = FS_UNLINK; }