how to update a symbolic link target (ln -f -s not working)

Posted by solid on Server Fault See other posts from Server Fault or by solid
Published on 2010-06-03T11:32:33Z Indexed on 2010/06/03 11:34 UTC
Read the original article Hit count: 316

Filed under:

I'm using

ln -f -s /var/www/html/releases/build1390 app-current

to update symbolic link "app-current" with a new destination. However, this doesn't work, the link "app-current" keeps it original destination, however, I don't get any errors...

I'd rather not remove the link and recreate it, just update the target of an existing link. Is that possible?

© Server Fault or respective owner

Related posts about symbolic-link