[BlueOnyx:09449] Dirs/files rights via FTP AND via CMS
Frank Soyer
fsoyer at systea.net
Fri Jan 27 04:32:37 -05 2012
Hi list,
sorry if this subject was already treated, but I have more and more
problems with rights and I don't find an acceptable solution.
My problem is that most web developers are now using CMS, Wordpress,
Joomla, and so on. These CMS have their own system of update, or module
install, or themes install. Via the admin page with a browser, you can
do all that.
But if you do that, the site tree must be owned by Apache.
By another way, when you need to upload files or specific scripts, you
need to use FTP. Apache can't connect via ftp, so you use a user created
for that.
If the site is owned by apache, this user have no rights. If you change
web ownership for this FTP user, apache don't have rights so the admin
fonctionnalities of the CMS no longer work. Argh.
What is the solution ??? Changing web ownership any time you want use
ftp or use cms is not one.
I found a solution by adding W right on group on all the files and RX on
dir. All users created in the vhost are in this group, so it works. But
it's complicated, we must manually do that after all changes, or new
files, or new directories....
How do you do, you all ??
Thanks in advance.
Frank
More information about the Blueonyx
mailing list