LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2012, 10:06 AM   #1
Seb Spiers
LQ Newbie
 
Registered: Mar 2012
Location: Worcester, UK
Distribution: Fedora, CentOS
Posts: 18

Rep: Reputation: Disabled
Question 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?
 
Old 04-17-2012, 10:19 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 481

Rep: Reputation: 179Reputation: 179
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
 
Old 04-17-2012, 10:22 AM   #3
Seb Spiers
LQ Newbie
 
Registered: Mar 2012
Location: Worcester, UK
Distribution: Fedora, CentOS
Posts: 18

Original Poster
Rep: Reputation: Disabled
If I try to mount the share as the user I get "mount: only root can do that"
 
Old 04-17-2012, 10:24 AM   #4
Seb Spiers
LQ Newbie
 
Registered: Mar 2012
Location: Worcester, UK
Distribution: Fedora, CentOS
Posts: 18

Original Poster
Rep: Reputation: Disabled
I'm using mount and need to allow an ftp user to access some data on a windows box. My distro is CentOS.
 
Old 04-17-2012, 10:38 AM   #5
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 481

Rep: Reputation: 179Reputation: 179
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Windows share with a space in the share name Suncoast Linux - Networking 1 06-19-2009 11:15 AM
Mounting Windows share leupi Linux - Server 10 04-12-2008 09:36 AM
mounting windows share with samba? lilili Linux - Software 2 03-08-2006 04:10 AM
mounting a windows (samba) share? alsjordan Linux - Newbie 3 08-06-2005 09:22 AM
mounting a windows network share? graystarr Linux - Networking 2 11-09-2002 06:57 PM


All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration