httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Laramee <>
Subject [users@httpd] Apache 2.0.58 on Debian Linux
Date Tue, 10 Oct 2006 00:47:18 GMT


my apache daemon runs as user "www-data".

i need to have this users umask be 002 (it's currently 022)... meaning,
for each of the 25 processes that apache forks off when it begins
to run, the umask for these processes must be 002.

i thought i could just update the users .bashrc file to set this, but
then i found out that the users shell, in /etc/passwd, is "sh", which
is just a sym link to bash ... which means that none of the following
scripts execute when a process is forked using the "www-data" user:


so then i thought i could just put a ".shrc", ".login", or a ".profile"
into ~ for the user and set the new umask that way ... this
doesn't work either - presumably because the shell that the
apache processes run as aren't interactive.

so, now i'm not sure what to do.

how can i set the umask for the apache processes that run
as user "www-data"?

thanks for any/all info.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message