httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ying lcs" <>
Subject [users@httpd] umask settings on apache server
Date Sun, 25 Mar 2007 00:55:35 GMT

I am using apache to access SVN with a post-commit script.
It uses a log file for 'trac.log'.  I have set it to 777 but after one
user commits (create the trac.log file), and another user commits. I
get permission error.

Some one on the Trac user group suggest i should check the umask setting.
Can you please tell me how to set the trac.log file umask setting so
that this problem won't happen?

Thank you.

The umask for the user that run the commit hook might be defined to a
"too secure" value. The script is run by SVN, which is usually run by
Apache. Check the umask settings on your server (and maybe SElinux if
it is enabled)


On 3/24/07, <> wrote:

- Hide quoted text -
- Show quoted text -

> I get this error when the trac post-commit is executed:

> [14:42:05] ... Warning: 'post-commit' hook failed with error output:
> /srv/svn/repositories/sample/hooks/post-commit: line 60:
> /tmp/trac.log: Permission denied

> Can you please tell me how to set the trac.log so that I don't have
> this problem?
> I have set it to 777 before (and own by me under linux). But for some
> reason that file becomes own by a different user and the permission is
> 600.

> Thanks for any help.

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