LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09: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, 09:19 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
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, 09: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, 09: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, 09:38 AM   #5
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

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



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 10:15 AM
Mounting Windows share leupi Linux - Server 10 04-12-2008 08:36 AM
mounting windows share with samba? lilili Linux - Software 2 03-08-2006 03:10 AM
mounting a windows (samba) share? alsjordan Linux - Newbie 3 08-06-2005 08:22 AM
mounting a windows network share? graystarr Linux - Networking 2 11-09-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration