[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Help with Mac repositry permissions

From: Matthew Allen <fret_at_memecode.com>
Date: Wed, 8 Sep 2010 19:47:28 +1000

---------- Original Message ----------
To: Matthew Allen (fret_at_memecode.com)
From: Erik Andersson (kirean_at_gmail.com)
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
Received on 2010-09-08 11:48:31 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.