How to remove folder redirection
When I do ls -l data for directory data, I see this
lrwxrwxrwx 1 1257 sftop 37 Apr 6 2005 data > /usr/test/softfac/ I am wondering what is data > /usr/test/softfac/ and how can I remove > /usr/test/softfac/ . When I try to access data directory through fileZilla, it get redirected somewhere else instead of showing it's content, I want to get rid of it. Thanks |
data is a symlink to /usr/test/softfac/
you can remove it by 'rm data' |
Quote:
|
Quote:
|
Quote:
|
descendant_command gave you the exact command to do that in his post (the first reply in this thread).
|
You don't have a directory named data.
Your data directory is /usr/test/softfac (indirectly). As said, to remove the symlink, without doing anything to /usr/test/softfac. >> rm data To put it back again after you discover that was the wrong thing to do. >> ln -s /usr/test/softfac data If you delete the directory /usr/test/softfac, the symlink data will be a broken link and will not work anymore. This cannot be easily fixed, unless you saved the /usr/test/softfac and put it back again. Why it is setup this way is not obvious, but there usually was a reason. You should first determine if the reason no longer applies. It would probably be safer to just a different name than data for filezilla. Alternatively rename the thing until you figure it out. >> mv data data_softfac |
All times are GMT -5. The time now is 11:34 PM. |