deleting a file

Rashkae ubuntu at tigershaunt.com
Thu Jan 10 15:44:16 UTC 2008


Joachim Schrod wrote:

> To elaborate further (I'm sure Nils knows it, but for the rest of 
> us). Since Choi used sudo, the OTOH case slipped in.
> 
> If he would have tried to delete the file with his own account, a 
> writable directory is not always sufficient. If the directory has 
> the +t access bit set, only owners of files can delete them. E.g., 
> that's the case in /tmp/. (As Nils wrote, that doesn't bind root, 
> though. Therefore I would assume a case of ro mount, ACLs, or 
> immutable attribs here. Or a network share.)


I've also seen similar problems with a corrupted file system.  (JFS in 
my case).  booting from a live cd to run some off-line fsck's would be a 
good idea.




More information about the ubuntu-users mailing list