0
votes
0answers
8 views

Issues with file ownership after git push

I have a server at home running Ubuntu 13.10 configured as webserver and git repository. If I push my project from my system to the server a post-receive hook is executed that moves the files ...
-1
votes
0answers
8 views

Odd behavior when Git repo is in C:\Program Files

We have a Git repo in C:\Program Files\Some-DB\Some-DB-Queries. When Git (or SourceTree) is run as Admin, everything works as expected. However, as non-Admin, after pulling into a local repo, Git sees ...
1
vote
1answer
34 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
0
votes
0answers
27 views

How to create a selinux context that merges two existing contexts?

I want to have a git repository available to both: the smart http transport and thus writable by apache - this is handled by the httpd_sys_rw_content_t context. the gitweb interface - this is ...
0
votes
0answers
245 views

Why am I getting git error “remote: error: unable to create temporary file: No such file or directory” on push?

We're transitioning from cvs to git, and I have a test setup where I have a git server that authenticates users with LDAP, let's call it REMOTE, and then my personal machine, let's call it LOCAL. Both ...
0
votes
4answers
390 views

Debugging git repo permissions on samba share

I've been working with git repositories cloned on samba share for about one year and apart from few problems with setting it up there weren't any issues with it. Recently I tried to add some files to ...
2
votes
0answers
281 views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
1answer
106 views

Automated git push attempt does not work - authentication issue

I'm trying to automate a very periodic git add/commit/push cycle using a shell script and cron under OS X 10.8.5. The script is as basic as one would expect it to be: cd /my/directory git add . git ...
0
votes
1answer
477 views

How Should I Set The Permissions On Linux To My Yii Can Create Folders?

My ubuntu can't be open to the webprocess create new folders. When I use GitHub. Ubuntu 13.04 64bit folders: /var/www or /var/www/myapp I used this terminal commands: sudo adduser <username> ...
3
votes
2answers
1k views

Windows is saying access denied to files I own

So, recently Windows has decided to do some trolling on me and make it impossible to commit to my git repository It gives me this error in git (in Cygwin): $ git commit -a error: insufficient ...
1
vote
0answers
366 views

Permission errors in setting up Git

Background I have a Linode VPS (Ubuntu 12.04 server), and I want to use Git to manage my files from the VPS to my local Windows desktop. I have installed Git Bash and have been using that on the ...
0
votes
2answers
150 views

GIT: File rights lost on Linux

I have a GIT repo on GitHub that I work with on both Windows and Linux. Here is what I observe: (on Linux) git pull (on Linux) I cannot save files. I change permissions, and make changes. (on Linux) ...
1
vote
1answer
177 views

Permissions in .git so that apache (PHP web frontend) is allowed to commit

I have a git-based wiki system which has a PHP web front-end using a local Apache2 web server. From within PHP I run git commit ... which should be allowed to commit changes made to the wiki files. ...
2
votes
1answer
1k views

How can I make files I check out with git on Windows writable by default in Cygwin?

I'm developing on Windows and I prefer to run git and build commands from the Windows command line, but I also enjoy using cygwin sometimes when I want to just explore the project repository using my ...
0
votes
1answer
383 views

git init --bare permission denied on 16gb USB stick

I am using GIT on a Windows 7 machine (64 bit) and have been learning how to use GIT to version control my files. Now I want to be able to create a --bare repository on an external device (in this ...
3
votes
1answer
2k views

Can't run “git” without sudo on OS X

I have an administrator account on my OS X Lion 10.7.2. I have installed a few applications through this account, but I am not able to run them without sudo. For example, I installed git and I cannot ...
11
votes
2answers
4k views

Homebrew won't link git

When I installed git or upgrade git via brew I couldn't link it with brew link git. If I try sudo brew link git I get: cowardly refusing to sudo brew link It says that I have to check the ...
11
votes
4answers
7k views

Using git through cygwin on windows 8

I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github. The problem is that my ~/.ssh/id_rsa has 440 ...
2
votes
1answer
1k views

Why Git keeps track of changes in execution permission?

If you have a file added to a Git repository and you change the execution permission (e.g. chmod 0755 file), Git tells that file has changed. This can be useful, but sometimes is a pain in the neck ...
1
vote
1answer
175 views

Running git on shared host

I have a non-sudo account on a shared host. I want to be able to run the git-core for version control. I have another server that I am using for the git-repo. How can I install a version of git ...
0
votes
1answer
631 views

git push fails in permissions setting up fresh gitosis on ubuntu server

I got permission prob with first test project on gitosis server, ubuntu lucid server Used this howto https://help.ubuntu.com/community/Git changes, commits and push on gitosis-admin worked. Then i ...
2
votes
2answers
522 views

All files in a directory will have 770 and git:www-data (Linux)

Can I somehow specify that: in a directory repository.git all files will ALWAYS have mode 770 and git:www-dat a ownwership:groupship?