From: Nikodemus S. <nik...@ra...> - 2009-05-05 16:09:50
|
2009/5/5 Gary King <gw...@me...>: >> replace the main repository, nor can I fix its permissions as the >> project directory itself is missing group write permissions, and the >> public_html directory is missing group write and sticky bit. > Fixed (I think) No group write in the project directory: drwxr-sr-x 4 mbaringer asdf 4096 2009-05-05 08:48 /project/asdf/ should be drwxrwsr-x. No group sticky bit in public_html (instead deletion is restricted to owner): drwxrwxr-t 4 gking asdf 4096 2009-05-05 11:03 /project/asdf/public_html/ should be drwxrwsr-x as well. >> For the directory and all subdirectories: dwrxrwsr-x (note the group >> sticky bit) > > ok Enough of the asdf.git permissions are still out of whack to render the repo inoperable (missing write and directory access permissions, plus unhygienic write permissions in places where there should be none.) A fixed repo, which should have the group permissions right is now at /project/asdf/public_html/asdf-new.git -- it has the same objects as the earlier one, plus one new commit on top. I would have replaced the broken one, but due to the t bit in public_html/ I still could not. If you can verify that this one works for you (test pushing as well...), then just renaming it to asdf.git should have us up and running. For future reference, I belatedly realized that the easiest way to fix things was to make a new empty repo that had the right group and was initialized with --shared=group, and then push everything from a working clone there: cd ~/ newgrp asdf mkdir asdf.git chmod g+ws asdf.git cd asdf.git git init --bare --shared=group and then from my home machine: cd src/asdf-git # a working clone made from the old asdf.git git push ssh://nsi...@co.../home/nsiivola/asdf.git master and finally on common-lisp.net cd /project/asdf/public_html mv ~/asdf.git asdf-new.git Cheers, -- Nikodemus |