On 5 févr. 06, at 06:23, Daniel Carrera wrote:

Daniel Carrera wrote:
http://opendocumentfoundation.org/repos/

FYI: If you go there now it'll look like it's working, but that's not because I "fixed" it or anything. I just did a:

chown -R www-data /var/trac

Huh... I'm stumped.

What happens when you change it back?

chown -R root:trac /var/trac

I'm guessing only that somewhere a bad permission or user/group setting had snuck into the /var/trac directory and that your first chown -R wiped it out.

Maybe you could also print out a list of all the files just to see if there's anything weird going on with the permissions

find . -printf '%m %u:%g\t%f\n'

From the looks of it, though, I don't think that it poses any problem that /var/trac belong to www-data. It's not like you're giving it any more rights to the directory than it already would have the g+w permissions (is it?). Perhaps this could be a basis for simplifying the howto.

I can't remember why exactly I have this complicated set up with the trac group. I'm guessing that it is so set /var/darcs/yourProj/yourRepo/_darcs/trac_cache to be owned by yourProj:trac, so that both the project and the web server can write to it. But that's kind of bad because it lets one project mess around with the trac_cache of another. Using ACL to make it writeable by both www-data and the user might be a better way to go.

--
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.


_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to