On Wed, Dec 3, 2014 at 11:40 AM, Noel da Costa <[email protected]> wrote:
> Hi, > > I'm using trac with git. I've had a repository set up and working well, > with a browsable codebase via trac on CentOS6. This was done with 0771 > permissions and ownership of root:dev on the git repo. Members of the "dev" > group were "apache" (for trac access) and the name of the developer, say > "john". This worked but I had given "dev" ownership of all my git repos. > > So, to cordon off this repo, I created a new group called "project" and > also added "apache and "john" to that group. I then chowned the git repo to > root:project. Doing so caused trac to lose it's connection to the repo, > sort of. It doesn't complain that there's no repo but no change sets show > and the Browse Source page says "No changeset None in the repository". I > tried "repository resync" but running that reports "0 revisions cached" and > no change. > > If I chown the git repo back to root:dev then the repo reconnects and is > browsable. > > I can't understand this behaviour! Any help appreciated. > > You could try setting the log level to debug whatever is reported might be useful. If you are using explicit synchronization, you could temporarily enable sync on every request to try and determine if it's a permissions issue with your hooks. http://trac.edgewall.org/wiki/TracRepositoryAdmin#Synchronization Which Trac version? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
