Can't Delete Directory SymLink
I created a symlink to a directory and that seemed to make bad things happen
Starting from From inside: /var/www/vhost/domain-2.com/httpdocs
>> ln-s /var/www/vhost/domain-1.com/httpdocs/images .
I wanted to share images between 2 virtual domains so i created a symlink from one image directory to another - when I try and delete it I get conflicting errors:
rm: cannot remove directory `images/': Is a directory
rm -rf images/
rm: cannot remove `images/': Not a directory
rmdir: `images/': Not a directory
mv images/ images2
mv: cannot move `images' to `images2': Not a directory
Then I tried this for fun...
mv blarg/ images/
(NO ERRORS REPORTED - But 'ls' showed no change)
Then I deleted all images in main directory and tried to delete link - still nothing
(I am Using Red Hat)
remove the trailing "/" with it, it's used as a directory, without it, it's a symlink.
Don't I feel like the lazy idiot for using AUTO COMPLETE
That did it - Thanks so much!!
|All times are GMT -5. The time now is 05:16 AM.|