Roger Barnes wrote:

Been using Proftp to serve up my ftp page, the problem is, I have now run out of disk space and want to access a directory on another disk. I know a symlink wont work because of the chroot set up, every time I google I get the same answer, use mount --bind /some/directory/file1 /home/ftp/file1, this works when I browse my system, but when I try and access the directory from the net, I get permission denied. I'm puzzled, has anyone done this before ??


Yes, someone has done it before:
http://forums.proftpd.org/phpBB2/viewtopic.php?p=2520&;

But that doesn't really help since no one answered them. :)

Is the ftp server configured with the equivalent set of permissions that you use whn you are browsing your system? In other words, are the permissions on the mounted file system you are trying to access such that proftpd can also access them?

- Rog
Checked permissions, all files and directories have read permission, I did sudo chmod -R a+r /media/hdb/ubuntu just to make sure. still the same problem. This is what puzzles me, the permissions seem correct, I mounted it in the directory (which you can see on the ftp site) but get denied when trying to access it from the net. can access it in the directory on this computer, just not the net. So wondering if there is something I need to specify in the proftpd.conf file. I guess I better reply to that forum post so that guy can get his working too.

tuxta

Got it to work!! I tried changing the owner of the files to ftp , and it
worked, I cant understand why another user cant own the files as long as
there is read permission for others. Anyway, got it working, so thats
the main thing

Tuxta
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to