On Wed, Apr 11, 2007 at 18:35:18 -0500, [EMAIL PROTECTED] wrote: > Just ran into a situation of concern when a colleague (kurt) tried to push > some > patches to my (kquick) darcs repo. His push failed with privilege problems, > and > warned that a "darcs repair" was recommended for the repository.
I have also been bitten by other people owning files in my darcs directory and would like to see some means of helping people to avoid it. Even a short snippet of example chmodery on the darcs wiki would be good. > 2) Setting the sticky-group bit on the _darcs directory and all > subdirectories > would ensure that group ownership in the repository was consistent. This > seems > desireable, but something that "darcs init" should do for me (if apropriate > to > the current system type). Two questions here: - Is this something we would want to happen systematically? can setting the sticky bit 'hurt'? If so, wouldn't it be better just to tell people what Unix invocation to type in whilst setting up a shared repo? - Is darcs init really enough? What if kurt pushes a patch that creates a directory? > 3) It also seems desireable for "darcs push" to ensure that all files created > have rw privs at the group level. This may not be directly available through > the transport mechanism and might require a post-copy operation. Have you looked at the --umask flag that Juliusz implemented? I am thinking that setting it as repository default for the apply command might alleviate some of the push issues, though likely not all. The hope is that at the very least, patches pushed over will be g+w so that darcs doesn't fail for you because of something kurt did, or something like that. > I'm willing to undertake the work needed to resolve these issues, but I need > to > know if this sounds reasonable or if I've just foolishly gone off into the > weeds. Thoughts anyone? I'll happily review anything you submit, but I'll probably need the help of somebody who knows more about computers/Unix. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français.
pgpRZO4uGEuPw.pgp
Description: PGP signature
_______________________________________________ darcs-devel mailing list [EMAIL PROTECTED] http://lists.osuosl.org/mailman/listinfo/darcs-devel
