From: Gary K. <gw...@me...> - 2009-05-05 17:52:31
|
Got 'em. (I think I was (am!) confused about sticky bit versus setuid bit. We want the latter, not the former, right? On May 5, 2009, at 12:09 PM, Nikodemus Siivola wrote: > 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 > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your > production scanning environment may not be a perfect world - but > thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > cclan-list mailing list > ccl...@li... > https://lists.sourceforge.net/lists/listinfo/cclan-list -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter |