Xonotic Forums
[SOLVED] GIT: insufficient permission on ./all update - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: [SOLVED] GIT: insufficient permission on ./all update (/showthread.php?tid=562)



[SOLVED] GIT: insufficient permission on ./all update - Wii-Wii - 06-08-2010

Morning guys,

I get an error when I update my git repository:

Code:
+ git remote prune origin
+ cd /Users/BoisCo/xonotic/data/xonotic-data.pk3dir
+ git config remote.origin.url git://git.xonotic.org/xonotic/xonotic-data.pk3dir.git
+ git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
+ git pull
remote: Counting objects: 119, done.
remote: Compressing objects: 100% (61/61), done.
error: insufficient permission for adding an object to repository database .git/objects

fatal: failed to write object
fatal: unpack-objects failed
Pulling failed. Press ENTER to continue, or Ctrl-C to abort.

It didn't do that some days ago...

Thx in advance. =)


RE: GIT: insufficient permission on ./all update - divVerent - 06-08-2010

My first guess would be hard drive space. If that is not it, can you do:

ls -la .git .git/objects

and post the output here?


RE: GIT: insufficient permission on ./all update - parasti - 06-08-2010

Don't use recursive chmod on a Git repo.


RE: GIT: insufficient permission on ./all update - Wii-Wii - 06-08-2010

(06-08-2010, 02:19 PM)divVerent Wrote: My first guess would be hard drive space. If that is not it, can you do:

ls -la .git .git/objects

and post the output here?

Code:
.git:
total 144
drwxr-xr-x  15 BoisCo  staff    510  8 jui 10:38 .
drwxr-xr-x  21 BoisCo  staff    714  7 jui 11:17 ..
-rw-r--r--   1 BoisCo  staff    502  8 jui 10:38 FETCH_HEAD
-rw-r--r--   1 BoisCo  staff     23 31 mai 17:37 HEAD
-rw-r--r--   1 BoisCo  staff     41  7 jui 11:17 ORIG_HEAD
drwxr-xr-x   2 BoisCo  staff     68 31 mai 17:18 branches
-rw-r--r--   1 BoisCo  staff    321  8 jui 10:38 config
-rw-r--r--   1 BoisCo  staff     73 31 mai 17:18 description
drwxr-xr-x  12 BoisCo  staff    408 31 mai 17:18 hooks
-rw-r--r--   1 BoisCo  staff  48248  7 jui 11:17 index
drwxr-xr-x   3 BoisCo  staff    102 31 mai 17:18 info
drwxr-xr-x   4 BoisCo  staff    136 31 mai 17:37 logs
drwxr-xr-x  42 BoisCo  staff   1428  7 jui 22:56 objects
-rw-r--r--   1 BoisCo  staff    257  5 jui 19:04 packed-refs
drwxr-xr-x   5 BoisCo  staff    170 31 mai 17:37 refs

.git/objects:
total 0
drwxr-xr-x  42 BoisCo  staff  1428  7 jui 22:56 .
drwxr-xr-x  15 BoisCo  staff   510  8 jui 10:38 ..
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 05
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 07
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 08
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 0f
drwxr-xr-x   3 BoisCo  staff   102  7 jui 22:56 15
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 1c
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 2c
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 2f
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 34
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 39
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 42
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 44
drwxr-xr-x   3 BoisCo  staff   102  7 jui 22:56 47
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 61
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 64
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 6f
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 7b
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 7e
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 7f
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 87
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 8d
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 a6
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 ab
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 af
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 b2
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 b7
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 b8
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 b9
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 be
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 c3
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 c5
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 da
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 e4
drwxr-xr-x   3 BoisCo  staff   102  7 jui 22:56 e9
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 ea
drwxr-xr-x   3 BoisCo  staff   102  7 jui 11:17 ec
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 f2
drwxr-xr-x   3 BoisCo  staff   102  5 jui 19:04 f7
drwxr-xr-x   2 BoisCo  staff    68 31 mai 17:18 info
drwxr-xr-x   4 BoisCo  staff   136 31 mai 17:37 pack



RE: GIT: insufficient permission on ./all update - XV22 - 06-08-2010

(06-08-2010, 02:51 PM)parasti Wrote: Don't use recursive chmod on a Git repo.

heh, thanks a lot never knew that ! although what u said seems logical