Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-04-2010, 03:07 PM   #1
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, 05:16 PM   #2
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,653

Rep: Reputation: 112Reputation: 112
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.


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

Original Poster
Rep: Reputation: 0


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

All times are GMT -5. The time now is 01:07 PM.

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