Hi! > >Don't bring the policy question into the kernel. If you want to kill the > >contents of inode - unlink() is _not_ a way to go. truncate() is. > > What have unlink() or truncate() to do with this issue? The only system > call we are talking about is _link_(2). He's telling you to use > $1; rm $1 instead of plain rm $1. That works in both cases (suid programs and quota being exceeded). You might want to put file called rm containing this #!/bin/bash > $1; rm $1 on your search path. Pavel -- I'm really [EMAIL PROTECTED] Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
- Re: Can't hardlink in different dirs. (BUG#826) Peter J. Braam
- Re: Can't hardlink in different dirs. (BUG#8... Andrea Arcangeli
- Re: Can't hardlink in different dirs. (B... Alexander Viro
- Re: Can't hardlink in different dirs... Andrea Arcangeli
- Re: Can't hardlink in different ... Alexander Viro
- Re: Can't hardlink in diffe... Kjetil Torgrim Homme
- Re: Can't hardlink in d... Alexander Viro
- Re: Can't hardlink ... Kjetil Torgrim Homme
- Re: Can't hardlink ... Alexander Viro
- Re: Can't hardlink in different ... Pavel Machek
- Re: Can't hardlink in diffe... Brandon S. Allbery KF8NH
- Re: Can't hardlink in diffe... Horst von Brand
- Re: Can't hardlink in different dirs. (BUG#8... Alexander Viro
- Re: Can't hardlink in different dirs. (B... Peter J. Braam
- Re: Can't hardlink in different dirs... Alexander Viro
- Re: Can't hardlink in different ... Andrea Arcangeli
- Re: Can't hardlink in diffe... Alexander Viro
- Re: Can't hardlink in d... Peter J. Braam
- Re: Can't hardlink ... Richard Gooch
- Re: Can't hardlink ... Andrea Arcangeli