inconsistent symbolic links
Posted by: Starbuck
Posted on: 2008-10-23 17:21:00
I have a directory with several thousand avatars. I want this one directory to be shared amongst various apps. When we create a symbolic link with "ln -s" the permissions show "lrwxrwxrwx'.
I'm not sure what the pattern is but in some places these links work fine. I can cd to the path, look at files, touch foo and rm foo, then cd .. back to the directory that has the link. And with FileZilla I can click on the link and the pointer jumps to the actual directory in the file tree. For other links FileZilla says it failed to obtain a directory listing and write operations from PHP fail.
To avoid the problem for now I've had to remove a couple of the links create the directory, then copy a mass of images to the local directory to be accessed by a single app. This is a waste of space and will cause management issues later.
Can anyone suggest why a link from X1 to Y works but a link from X2 to Y does not? That's for both read/write access.
Thanks!