Re: Help with Mac repositry permissions

2010-09-08 Thread Erik Andersson
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? What error message do you get?

Re: Help with Mac repositry permissions

2010-09-08 Thread Ryan Schmidt
On Sep 8, 2010, at 01:58, Erik Andersson wrote: Not really sure about mac.. It's UNIX. 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 The user

RE: Help with Mac repositry permissions

2010-09-08 Thread Giulio Troccoli
Linedata Limited Registered Office: 85 Gracechurch St., London, EC3V 0AA Registered in England and Wales No 3475006 VAT Reg No 710 3140 03 -Original Message- From: Matthew Allen [mailto:f...@memecode.com] Sent: 08 September 2010 07:41 To: users@subversion.apache.org Subject: Help

Re: Help with Mac repositry permissions

2010-09-08 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (f...@memecode.com) From: Erik Andersson (kir...@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

RE: Help with Mac repositry permissions

2010-09-08 Thread Giulio Troccoli
with Mac repositry permissions The problem is that I want to make sure this is secure, and the fact that it seems to be using the webserver seems to be using the global permissions indicates to me that the repo files are not being correctly protected. If someone gets into my machine then they can see

Re: Help with Mac repositry permissions

2010-09-08 Thread Tyler Roscoe
On Wed, Sep 08, 2010 at 07:47:28PM +1000, Matthew Allen wrote: 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? The 2 controls the sticky bit. Mode 2770 says

Re: Help with Mac repositry permissions

2010-09-08 Thread Ryan Schmidt
On Sep 8, 2010, at 04:53, Giulio Troccoli wrote: Also the /Users folder perms is: drwxr-xr-x 6 root admin 204 18 Aug 10:03 Users Now, there's your answer. The user that runs theweb server, _www, has permission to access /Users only becuase of the others permissions __r-x.