On Thu, Dec 9, 2010 at 2:19 PM, AJ ONeal <[email protected]> wrote: > but I don't care. I don't recall if the files are owned by root or gitosis, > but either way, it works and it's just a one time deal.
To run git as the "gitosis" user, just do sudo -u gitosis git gc --aggressive If you run git as root, any files it creates will be owned by root. Since gc repacks objects in your repo, I'm pretty sure it creates some new files. This probably won't affect pulls, but it may affect pushes and it will probably also affect repo maintenance in the future (e.g. gc may not work anymore as non-root). -- Peter Henderson [email protected] -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
