Comments (7)
And I'm still getting some:
fatal: /usr/lib/git-core/git-pull cannot be used without a working tree.
Didn't you addressed these issues?
from redmine_git_hosting.
Also testes with a parent'less test project, same non existing hook issue.
from redmine_git_hosting.
Is this still broken after merging your latest fix (fixing the pull => fetch, merge in the second location) ? Sorry I missed it in that second (more important) spot the first time around.
from redmine_git_hosting.
yes, notice the following:
www-data@ubxenweb:~$ sudo -u www-data ruby /srv/chili/projects/chiliproject/script/runner -e production "print \\\"good\\\""
Sorry, user www-data is not allowed to execute '/usr/bin/ruby /srv/chili/projects/chiliproject/script/runner -e production print \"good\"' as www-data on ubxenweb.ufsoft.org.
:)
from redmine_git_hosting.
The user running is already the web user, do you really want to sudo to him? specially since on current docs, the web user should only be allowed to sudo to the git user.
from redmine_git_hosting.
That command should be getting run as the git user -- it's a test
whether the git user is correctly configured to run commands as the
www-data user. The www-data user uses the run_as_git_user command to
run sudo BACK to the www-data user. I suppose I could just remove the
test, since current configuration with sudo requires that git
repos/web server be in the same box, but previous ssh configuration
allowed the case where they were not (hence the reason for
testing...).
One reason I've left the test there is as a general test of whether
the run_as_git_user command is working properly -- I had some problems
until I realized that there are different versions of sudo that
actually behave differently (see my commits yesterday). However,
since I've fixed that it seems to be working fine for me, so I'm not
sure why you're having problems. If you comment out the test in the
git_hosting.rb file and just let the commands that set the post-update
hook run do those get called (and the hook set up) properly?
Eric
On Tue, Jul 12, 2011 at 10:16 AM, s0undt3ch
[email protected]
wrote:
The user running is already the web user, do you really want to sudo to him? specially since on current docs, the web user should only be allowed to sudo to the git user.
Reply to this email directly or view it on GitHub:
#30 (comment)
from redmine_git_hosting.
#32 fixes this ticket.
from redmine_git_hosting.
Related Issues (20)
- Redmine 2.0 support? HOT 3
- git_caches#command_output using 'blob' not 'longblob' (truncates git cache silently)
- web user can't sudo git user HOT 1
- Can not push when use http/https protocol HOT 4
- [gitolite.conf] Write and rewind permissions (W+) are being lost everytime a git push occurs
- Error editing repositories
- gl-setup - command not found on plugin related migrations HOT 4
- Could not create directory '/var/www/.ssh' - error message after pushing an existing repo HOT 2
- migrate_plugins error ( BLOB/TEXT column 'command' used in key specification without a key length) HOT 2
- problem of add repository mirror
- Repository always empty HOT 2
- redmine-gitolite plugin post recieve hook
- problem cloning/pushing
- Empty git repository URL HOT 3
- buffer overflow when adding ssh key
- Repo Name equals Project Name
- git push -u origin master -> Permission denied (publickey). HOT 1
- Repository page not updating HOT 2
- Don't push updates to repository mirrors when new changes are pushed to the repository HOT 1
- routes.rb update issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_git_hosting.