LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-04-2010, 02:07 PM   #1
noob_J
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
FTP user access on Ubuntu


Hello All,

Sorry for the noobie question, but I am trying to set access to my ftp folder. As of now I have set the group ID bit on my directory:

drwxrwsr-- 32 root ftp-users 4096 2010-07-04 13:53 ftpserver

Which sets ownership to all files created in that folder and I assume the subfolders to my group "ftp-users". However the file permissions when created are:

-rwx------ 1 test ftp-users 0 2010-07-04 13:58 TestFile1.txt
-rwx------ 1 test ftp-users 0 2010-07-04 13:58 TestFile2.txt

I want the ftp-user group to have full access to these files. What am I missing?
 
Old 07-04-2010, 04:16 PM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,576

Rep: Reputation: 111Reputation: 111
I think you need to configure umask which controls permissions to newly created files. I believe that includes files created by the ftp process. I have fought with this in the past but is has been a long time ago so I am not up to speed on the subtleties. There are a lot of decent tutorials about umask on the net.

Ken

Last edited by taylorkh; 07-04-2010 at 05:45 PM.
 
Old 07-05-2010, 05:08 PM   #3
noob_J
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
bump
 
  


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
How do I allow an ftp user access to 2 directories? beammeup Linux - Security 5 08-02-2006 01:54 PM
Need help setting up user that will have FTP access imsam Linux - Newbie 8 03-24-2006 05:16 PM
only FTP access to user not ssh or telnet farhank Linux - Security 3 10-27-2005 09:30 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
can you restrict ftp USER access to certain ips? linuxboy69 Linux - Software 2 02-26-2004 04:05 PM


All times are GMT -5. The time now is 02:28 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