Re: vsftpd: access network directories possibe?



Ohmster <notareal@emailaddress.> writes:
<snip>
I have the XP share mounted with cifs on the FC5 machine as /mnt/test and
all of the files are fully accessable for reading (XP machine file system
is NTSF), but when I make a symlink to the mounted XP share, vsftpd gives
a permission denied message. I then mounted the XP share again

Isn't the --bind option needed when something gets mounted for a 2nd time?

I think it is.

(or maybe I haven't correctly grasped / you unmounted then mounted under ftp)

Yes, vsftp doesn't like symlink nor even other partitions mounted elsewhere
either.

I had a different partition (previously mounted elsewhere, not under the ftp).
I wanted it (this mounted folder) shared to vsftp. The only thing that ended
up working for me was to mount it again (using the --bind option) under the ftp.

I did not unmount it. That is, the (partition mounted to a folder) remained
mounted to its original mount. I then used the --bind option to also mount
that partition again under the ftp. And now those files work with vsftp.

pub directory in the vsftpd home and now the files can be access by
entering the mounted share and the directory list is available and all
the files are displayed as normal. Here is the command:

mount -t cifs -o
credentials=/etc/smbpasswd.cifs,directio,uid=ohmster,gid=ohmster,rw,dir_m
ode=0755,file_mode=0644,iocharset=utf8 //missy/ohmster_music
/home/ftpsite/pub/test
<snip>

--
Alan.
.



Relevant Pages

  • Re: Screw Linux, Im going back to Windows!
    ... >>> But we need some kernel support. ... >>> physical device from the block device even when it is ... fstab configured for another mount point, I get to pick which one to use. ... The symlink was also useful because the automounter doesn't actually create ...
    (comp.os.linux.security)
  • Re: vsftpd: access network directories possibe?
    ... I was able to do that, mount it with the --bind tag and mount it again, ... I had a different partition (previously mounted elsewhere, ... the ftp). ... "Failure writing network stream." ...
    (comp.os.linux.networking)
  • Re: Screw Linux, Im going back to Windows!
    ... When mounting you get to choose one device, one mount point, one ... The filesystem actually doesn't have ... Making a symlink that points to a mount point is sometimes a good ... removed and reinserted in different drives a lot of times before ...
    (comp.os.linux.security)
  • Re: [opensuse] mounted partitions dont show up in df
    ... result of issuing the mount command or it can be a symbolic link to ... However a reboot overwrites the symlink and the info is lost again. ... scripts, perhaps?) ...
    (SuSE)
  • Re: Samba Shared Folders over a WAN link
    ... If you want to access files located on an FTP server, ... mount the share, and work on the remote files just as you would work on ... with the standard umount command. ... Here is an example of how to mount an SSH file system in /mnt/ssh as ...
    (Fedora)