[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SFTP via ssh and symlink permissions



My SFTP setup works, almost. Local file access is OK. However,
symlinks can be seen but not followed. The symlink itself is owned by
root and in the root group, but the thing to which the symlink points
I have changed to the owner and group names associated with the login
username I'm using for the SFTP. If I use chown on the symlink, it
doesn't change, but the thing it's a symlink of, does. Remember, all
my symlinks are to mounted filesystems (Windows shares and NAS
shares).

This is clearly a permissions problem, but I'm not sure which of these
three things it is, and it could possibly be a combination of any two:

. the permission and ownership of the symlink itself,
. the permission and ownership of the object the symlink points to
. the permission and ownership of the mount point created with `mkdir
-p' on which the filesystem is mounted.

Any thoughts appreciated.


Reply to: