-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>> On Sunday 04 April 2004 06:47, li <linuxlingam> said:
li> have created a symbolic link using ln -s to a directory called
'images' li> into /var/www/html
li>
li> i wish to delete this symbolic link: /var/www/html/images
li>
li> have tried rmdir, rm -fR, ln -f, read thru the man pages of rm, ln,
li> tried a mv, but all fail. and am doing all these as root.
li>
li> what's the way of deleting this symbolic link, please?
li>
check mode of the symlink. should be 0777 i.e. lrwxrwxrwx
rmdir wont work with a link
`rm -Rf ` (or rm -f) should always work with softlinks. Strange!
`ln -f ` wont work. you need ` ln -sf `
what does " ls -ali /var/www/html/ " show??
set the variable MAXSYMLINKS to 25 and see what error you get. watch out for
ELOOP error.
finally, check if /var is mounted read-only.
or try using another shell instead of bash
Post the errors here if all fails.
regards,
bhaskar
p.s. maybe you can :: open konqueror or nautilus, browse to /var/www/html
directory and press the delete button with right index finger. Wait and see
what happens...
- --
_______________________________
Bhaskar Dutta <bhaskie99 at yahoo dot co dot uk>
- -------------------------------
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x01D5671C
GPG FPR: AA56 1EB5 D7E8 DD9C 298E 8F4D 375F D416 01D5 671C
_______________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x01D5671C
iD8DBQFAb46dN1/UFgHVZxwRAlarAJ9sIAiJyD2qF1i7b7G18a4AXY0nWACfQLWG
on8Sw8tlq4jukJtmmc7yH6M=
=Q9Id
-----END PGP SIGNATURE-----
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/