Mounting a Windows Share for use via FTP
Hi There,
I've mounted a windows share on my network and I can read/white from the command line and also via FTP when connected as root however when I connect as another user I'm unable to write (but can read). Obviously it's a permissions thing but I've no idea how to fix it. Do I need to mount the drive as the ftp user? |
Hi there,
Presumably you are mounting the drive onto a Linux server, using smbfs or something similar (as opposed to an NFS server on the Windows machine). I'd suggest you eliminate anything your FTP server might be doing first. Can you write to the share if you log in to the Linux server locally or via SSH as the FTP user? What are the permissions on the file and directory in question? Regards, Clifford |
If I try to mount the share as the user I get "mount: only root can do that"
|
I'm using mount and need to allow an ftp user to access some data on a windows box. My distro is CentOS.
|
Hi again,
Yes, only root can mount a file system. Once you have done this as root, you should be able to access it as another user, though, depending on the permissions. Can you try that, and post the permissions and error message(s) you get? Thanx |
All times are GMT -5. The time now is 06:43 PM. |