Create an FTP user read only.
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.
I dont think that is possible with the current ISPConfig.
Maybe there is something to be done in the pureftpd config file.
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).
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? :-)
Same problem here with www-data (uid 33) when try FTP login:
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.
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?
|All times are GMT +2. The time now is 20:22.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.