1

I'm running ubuntu 14.04 and would like to have apaches www-data user to create files that are writable by all users within that same group www-data.

So far I've tried to add

umask 0002 or umask 002

to /etc/apache2/envvar but didn't have any success even after stopping and starting the apache service.

What else could I try?

I followed some other great tipps in other posts but weren't successful in creating writable files with www-data.

Thank you very much for your help :-)

jrn
  • 113
  • 5
  • How you (the webserver) are writing the files? Through a scripting language? Which? What are the actual file permissions of these new files? – Valerio Bozzolan Jun 19 '19 at 10:30

1 Answers1

1

Have you tried put the umask command in /home/www-data/.bash_profile file?

Johnny Wong
  • 171
  • 2