---------- Original Message ----------
To: Matthew Allen ([email protected])
From: Erik Andersson ([email protected])
Subject: Re: Help with Mac repositry permissions
Date: 8/9/2010 4:58:47p
> Hi
>
> Not really sure about mac.. but what I would do in linux would be:
>
>
> sudo find /path/to/repo -type f -exec chmod 660 {} \;
> sudo find /path/to/repo -type d -exec chmod 2770 {} \;
> sudo chown -R root.www-data /path/to/repo
>
>
> How do you remove the global permissions?
The only difference I had to the above commands was:
sudo find /path/to/repo -type d -exec chmod 770 {} \;
I don't know what the "2" does in front of the 770. But it looks like it still
works... so maybe thats all there is to it?
> What error message do you get?
If I removed the global permissions then I would not be able to access the repo
via the https interface anymore. The exact error message escapes me though, it
was a few weeks ago.
So anyway I followed the above commands and it seems to be working from the
local network... the big test will be tomorrow when I try and get to my repo
from work.
--
Matthew Allen