-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-10-18 at 19:50 +0200, Steve Graegert wrote:
Are you joking?
For a single file? As root? What if he mistypes and erases his whole disk?
The OP suggested that the file is mysteriously locked somehow. What would you suggest to do about it without being in superuser mode (and without rebooting, of course)?
But Fergus sugested to do: # rm -rf [name-of-your-directory] as root. The -r stands for recursive, and -f for force (no questions asked). If there is an error, an horrible lot of files may be erased, he could destroy the system. The proper procedure would be to become superuser, yes, then delete each thing explicitly. First empty the directory, then erase it with rd. If a recursive erase is used, as root, first you have to check carefully what is inside, specially links. IMO, of course :-) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDVaEYtTMYHG2NR9URAuIpAJ901z/cRUpF2hVwho/F5M6apFk2LQCgmJDX 09X5Fjylic7/ugVRZEuyhiM= =4FhS -----END PGP SIGNATURE-----