|
|
SWEEEEEET!!!!
Create a symbolic link ("symlink") from the old directory to the new one. If you want to keep
the name, the format is "ln -s /other/directory /new/location/", and if you want to change the name then the format is "ln -s /other/directory /new/location/new_name". Example:
Play around for a minute and you'll get the idea. The trailing slash can be significant
Etc. This is of course assuming you have permissions to be accessing other users' Documents directories. If you can't then you won't be allowed in, any more than you would be allowed to "cd /Users/someone_else/Documents". File & directory permissions get inherited from the file or directory being referenced. Note! If it isn't already obvious, it's really dumb to make a link such as this:
ln -s / ~/ftp/root The whole point of this ftpusers restriction file is to control what parts of your
Doesn't work
The symbolic links dont seem to work via ftp. I can get to regular directories with my ftp user, but when I try a symlink it tells me "No such file or directory". Is there any way around this?
here's how it works....
Symlinks will not work because the whole purpose of chroot is so that the user cannot see directories outside the scope of their "root" directory. This means that any directory that you have symlinked to that is outside the scope of the user's "root" is not visible. In which case, if you attempt to access that directory, you will get the "file not found" message. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|