On Apr 9, 11:51 am, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote:
> > I add this line 'umask022' at the top of my post-commit script:
> > /srv/svn/repositories/snapshot/hooks/post-commit
>
> > And after I commit a ticket, the /tmp/trac.log still own by a user and
> > the permission is not 777
>
> That's the expected behaviour, isn't it?umask022 gives '644'
> permissions, that is rw-r--r-
> (manumaskif you have any doubt)
>
> What is the user that executes the 'SVN' process ?
> Add something like:
>
> id > /tmp/svn-ower.log
>
> at the top of your commit script, commit a new revision, and look at
> the content of this new file.
>
> Cheers,

Manu,

Thanks for your help. I have tried you suggestion like this, but I
still get the same problem:
Can you please tell me if you have any other idea?

umask 022

REPOS="$1"
REV="$2"
LOG=`/usr/local/bin/svnlook log -r $REV $REPOS`
AUTHOR=`/usr/local/bin/svnlook author -r $REV $REPOS`
TRAC_ENV='/srv/svn/tracenv/sample/'
TRAC_URL='http://localhost/tracprojects/sample/'

/usr/bin/python /srv/svn/repositories/sample/hooks/trac-post-commit-
hook \





> Manu


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to