Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use Suse and Pure-ftpd as my ftp server.
I am having the problem....
When i mount say a directory xxx as follows
mount --bind xxx /srv/ftp/
and when an anonymous user connects to my ftp,he can see all the files and directories of xxx ,but he cannot go inside any directory(it says permission denied)
Originally posted by Tinku by default the /srv/ftp has the root permissions for writing.But well,to copy something,u dont need the write permissions.
wat permissions are u exactly referring to?
If your mounting another drive or network share, what are the given permissions of that mount? If your doing it as root and not specifying the permissions, I'm assuming only root is going to be able to read from it, etc.
Originally posted by trickykid If your mounting another drive or network share, what are the given permissions of that mount? If your doing it as root and not specifying the permissions, I'm assuming only root is going to be able to read from it, etc.
yeah ,i am mounting the directory as root.
all the directories that i am binding to another directory have read permissions for all users..So they should be able to travel through the directory hierarchy ,i guess,,,,,,
how to specify the permissions,(just view and copy) say of directory x
mount --bind /home/gh/tin /srv/ftp/
here say i give $ chmod 755 /home/gh/tin ,is it ok?or should i do something else?if yes,wat
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.