umask settings on apache server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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)

HTH,
Manu

On 3/24/07, silverburgh.me...@xxxxxxxxx <silverburgh.me...@xxxxxxxxx> 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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux