![]() | |||||||||||||
Messages in this thread |
On Wed, 04 Feb 2004 12:05:07 EST, Bill Davidsen said: > It would be useful to have this as a directory option, so that all files > in directory would be protected. I think wherever you do it you have to > prevent hard links, so that unlink really removes the data. This of course implies that 'chattr +s' (or whatever it was) has to fail if the link count isn't exactly one. Also makes for lots of uglyiness if it's a directory option - you then have to walk all the entries in the directory and check *their* link counts. Bad Juju doing it in the kernel if you have a directory with a million entries - and racy as hell if you do it in userspace. [unhandled content-type:application/pgp-signature] | ||||||||||||
| Last update: 2005-03-22 14:00 [W:1.249 / U:0.280 seconds] ©2003-2008 Jasper Spaans | |||||||||||||