i have a problem at granting the right rights for the right user...
i want to run pootle with apache, so i downloaded pootle. Then i copied it to /var/www, installed it and gave the www-data user rights for the whole folder. As far as good... now i want to copy the translated files from and to the translation-directory (e.g. /var/www/pootle/po/project).
So i created a group (www) added me to the group and executed
sudo chown -R :www /var/www/pootle
ok, so now i have rights to write files into the directory, however, when apache creates a file, its group is www-data...
sudo chmod -R g+s /var/www/pootle
ok, now the group is always "www", as i wanted it to be... now here is the problem:
When i write files to /var/www/pootle they are there, however, with my user as owner, and not, as i awaited, as www-data, although i executed the command:
sudo chmod -R u+s /var/www/pootle
is there a way that i can say that the user who created the file, even if its me, shall be www-data?
thx in advance :)