LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2013, 12:53 PM   #1
noncentz
LQ Newbie
 
Registered: Nov 2010
Location: Denver
Distribution: ubuntu 10.04
Posts: 3

Rep: Reputation: 0
Allow FTP user rw access to entire server - CentOS6


Good Day Everyone,

I am new to linux but I am really enjoying learning about the OS. I am testing a glusterfs storage solution and I cannot seem to get FTP to write to an NFS mount I setup. I set the mount point to a directory in the home folder of a test user I setup named 'gluster'. After setting up this user I am able to login to my server and I can navigate to the mount as well as create/edit/delete files OK.

-- mount -a @@ mount output --

glnode01.devnet.local:/gv0 on /home/gluster/GlusterTest type nfs (rw,vers=3,addr=192.168.1.210)

I would like to have access to this mount using FTP so I installed vsftpd on the server. Here are the relevant configurations for vsftpd.

-- /etc/vsftpd/vsftpd.conf

After setting up the user I was able to connect to the FTP server using Filezilla which brought me to the users home directory. I am able to navigate all files on the server but I am not able to create files in any place other than the /home/ directory.

I assumed since the NFS mount was located in the home directory I would be able to write files but this is not the case, yet when I login to the server I can write file perfectly. Because I cannot write files I assume this is a permissions error and I would really like access to all files in the system. I tried adding the user to sudoers but that has no effect.

The server I am connecting to is running centos6. The client I am using is ubuntu. I am not sure how to continue as I am unfamiliar with the OS as a whole.

Any help would be greatly appreciate. --> noncentz
 
Old 05-10-2013, 03:50 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It depends on the user.

A logged in user can only create/write files and directories in a directory that user owns.

It sounds like the user id on the system logged into with FTP does not use the same UIDs that the NFS server is using, thus the ownership test fails.
 
  


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
when i connect server i have to access entire lan network of server saravanakumar Linux - Networking 2 07-29-2011 01:03 AM
how to give access to particulat user in ftp user group to particular folder marora Linux - General 2 06-16-2011 02:03 AM
Access to one server via root/ssh/ftp on other only ftp anthonychallis Linux - Newbie 4 01-12-2010 02:23 PM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:49 PM.

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