Modifying Symlink for Downloads

Contributor II

User account created wrong so tried to rename user folder and create account using existing folder. Unfortunately the Downloads folder is a symlink into the Dropbox of the wrong account name and has the ACL

0: group:everyone deny delete

I can remove that ACL from the home folder and any of the regular folders but not this one even if I do

chmod -h -a# 0 Downloads


New Contributor

Given that -f just does a silent replacement, you can do an atomic replacement with mv -T (-T makes it work even if /loc.../link is a directory):

ln -s /location/to/link linkname


ln -s /location/to/link2 newlink
mv -T newlink linkname
linkname is accessible throughout the process Upsers