Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th September 2012, 20:07
themark themark is offline
Join Date: May 2011
Posts: 98
Thanks: 3
Thanked 3 Times in 3 Posts
Default Create an FTP user read only.

Hi there,

I need to create two user FTP on the same directory (of the same website):

1) one in read write mode;
2) one in read only mode;

It's there a way to get this job done with ispconfig?
I have played around with permission, but with no good result.

Someone here can help?

Thank you in advacend.
Reply With Quote
The Following User Says Thank You to themark For This Useful Post:
lgfocuyqjf (15th September 2012)
Sponsored Links
Old 6th September 2012, 08:57
cfoe cfoe is offline
ISPConfig Developer
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe

I dont think that is possible with the current ISPConfig.

Maybe there is something to be done in the pureftpd config file.
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
Old 6th September 2012, 10:04
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,994
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

The steps to create a FTP read only user are:

1) Create a FTP user.
2) Go to the options tab of the FTP user and change the UID and GID to www-data (or whatever user and group your apache is running on).
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
robertoshulze2257 (5th November 2014)
Old 6th September 2012, 10:52
themark themark is offline
Join Date: May 2011
Posts: 98
Thanks: 3
Thanked 3 Times in 3 Posts

thank you Till, but we can't follow this step.
Because our web server (apache) run under apache user (48uid) that is lower that 500 minimum gid accepted by pureftpd default config.

change this default pureftpd config i think that can be very dangerous...

any thought about? :-)
Reply With Quote
Old 6th March 2014, 18:56
zion zion is offline
Junior Member
Join Date: Nov 2013
Posts: 20
Thanks: 7
Thanked 1 Time in 1 Post

Same problem here with www-data (uid 33) when try FTP login:
Answer: 331 User demo2 OK. Password required
Command: PASS **************
Answer: 530 Sorry, but I can't trust you
I'v found this: http://marc.info/?l=pureftpd-list&m=127448475305253

So I'v crated a new site, then a new ftp user, and modifed the User identifier (UID) to "ftp-ro" + Group identifier (GID): "ftp-ro"
Then I modified the group of the directory to ftp-ro (chown -R .ftp-ro directory_name), and modified group priviliges to setgid (chmod g+s directory_name) at command line.
With setgid the group will be ftp-ro for all of the new files and subdirectories.

I hope it will help to others who find this thread.
Reply With Quote
The Following User Says Thank You to zion For This Useful Post:
adizzycswftay782 (3rd November 2014)
Old 28th October 2014, 19:14
pebkac pebkac is offline
Senior Member
Join Date: Feb 2009
Posts: 133
Thanks: 2
Thanked 7 Times in 7 Posts

But what if you want to have RO on an existing site/directory. Changing to ftp-ro will break other things.

I too need to have a RO ftp account so I can give access to developers, so they can review some code we have. How can the effectively be done?
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP User Permissions: Can I create "read-only"? HarborTech General 5 23rd February 2012 17:25
Remote: FTP User Create :: SOAP Error: directory_error_notinweb DOLARiON Developers' Forum 4 26th May 2010 15:41
pure-ftpd / MySQL on Fedora 12 - user limit Tek12 HOWTO-Related Questions 2 28th December 2009 13:51
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 21:38
Website users? ctroyp General 25 6th January 2006 19:02

All times are GMT +2. The time now is 12:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.