FTP (vsftpd) can't see mounted SMB drives
Hello,
On Almalinux 8 if I mount a drive (from another server) and if a client connects to Almalinux via FTP (vsftpd) the mounted folder not visible in FTP client. I checked the permissions and I tried with root user too. This is how I mount the SMB drive: //192.168.1.2/share-folder /root/remote-folder cifs username=remoteuser,password=12345678,iocharset=utf8,file_mode=0777,dir_mode=0777 What is missed? Thank You |
Only root has permissions to access files within its home directory i.e. /root. root should never be able to login via ftp. If a directory is outside of the local_root directory you would need to use the cd command to change directories.
But it depends on how you configured vsftpd? Are you using chroot_local_users? How did you configure local_root? |
Quote:
|
I have seen that kind of thing work, but not using the software available today.
In general you cannot reshare a remote share with any success: if it ever works it will not be dependable. Likewise, running a service on one box to provide access to data on another box is iffy. Can you not run an vsftp service on the box that actually owns that storage and data? THAT would work and be more dependable. |
Quote:
|
All times are GMT -5. The time now is 04:05 PM. |