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

Re: Subversion: existing users

From: Andy Canfield <andy.canfield_at_pimco.mobi>
Date: Mon, 25 Jul 2011 19:00:53 +0700

On 07/24/2011 03:25 AM, Ryan Schmidt wrote:
> On Jul 23, 2011, at 03:27, Andy Canfield wrote:
>> On 07/21/2011 07:27 PM, Cooke, Mark wrote:
>>> I don't use *nix much but shouldn't that be `chown -R ...`?
>> Nope, the format of that command on Linux is
>> chown username.groupname fileselector
>> Generally chown has to be run as root in order to be allowed to change the file owner. The command on OS X is nearly the same but the user and group are separated by a colon, not a period.
> -R means "recursive", and yes, you probably did want to have used that option so that all items in the directory, and not just the directory itself, have their ownership corrected.
You're right; -R means "recursive". I have never used 'chown -R'. In
this case I did not need it because I applied the chown immediately
after creating the SVNParent. Here is the latest version:
* APACHE_USER=www-data
     APACHE_GROUP=www.data
     SVNPARENT=/data/svn
     sudo mkdir $SVNPARENT
**sudo **chown $APACHE_USER $SVNPARENT
**sudo **chgrp $APACHE_GROUP $SVNPARENT
     sudo chmod 0700 $SVNPARENT

*
Received on 2011-07-25 14:01:42 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.