I am using Debian with confixx 3.3.5 installed. The issue is about confixx always resetting the permissions from the files and folders.

When I wish to write with apache user (world wide web-data) some file into webX's directory I do not have permissions. Switching to CGI/fCGI isn't a solution already because a lot of situations are working already around the server with mod_php plus they might have conflicts.

The temporary solution which I am using is:

  • to include the webX user to www-data group
  • to provide 775/664 permission
  • and alter the dog owner and group to webX:www-data to any or all the folders and files from /webX/html directory.

Now world wide web-data can edit files to their folders.

Everything was fine until I needed to create/change some ftp customers for many sites within /webX/html directory. When designingOraltering a ftp user, Confixx will totally reset the dog owner and group from the folders to webX:webX.

The 2nd idea ended up being to simply add the consumer www-data to any or all the webX groups because I observed the 775/664 permissions never was totally reset. So even when the consumer:team is going to be totally reset to webX:webX, www-data will still have the ability to write/edit files from individuals folders.

But you know what? It seems that whenever a while/action Confixx can also be altering normal again the www-data user. Then when I wish to take a look user within the command line I recieve:

# id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data)

however it needs to be:

# id www-data
uid=33(www-data) gid=33(www-data) groups=1146(webX),1147(webX),1148(webX),33(www-data)

Did someone else had such problem before? It is possible to trick to prevent confixx carrying this out?