having problems with permission's when pushing please advise
Justinas Urbanavicius
justinasu at gmail.com
Tue Apr 29 13:15:18 UTC 2014
I have a Master only server on Linux debian,
it clones a local mercurial repository and then after the build jenkins
tags version as "qa"
with command:
hg tag -f qa
and should push the changes to the same local repository, but after
executing
hg push -f
it fails with error permission denied:
[workspace] $ /bin/sh -xe /tmp/hudson4453977963147108156.sh
+ hg tag -f -u jenkins qa
+ hg push -f
pushing to /home/hg/ituvs
abort: could not lock repository /home/hg/ituvs: Permission denied
jenkins executes sh script under jenkins user, i'v given 2775
permission to /home/hg/ituvs recursively:
drwxrwsr-x 3 root www-data 4096 Oct 17 2013 ituvs
and added jenkins to group www-data but it still failes to push.
if i change to user jenkins myself and execute these command
everything works fine:
su jenkins
hg tag -f -u jenkins qa
hg push -f
pushing to /home/hg/ituvs
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 1 files
can't seem to figure this out, any help would be appreciated
--
Justinas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140429/53959350/attachment-0002.html>
More information about the Mercurial
mailing list