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

Re: .svn/wc.db as group writable

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 24 Feb 2017 16:34:26 +0100

On Fri, Feb 24, 2017 at 3:07 PM, Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:
> On Fri, Feb 24, 2017 at 5:17 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
>
>> [[[
>> $ ls -l .svn
>> total 160146
>> -rw-rw-r-- 1 johndoe devgrp 3 Mar 21 2014 entries
>> -rw-rw-r-- 1 johndoe devgrp 3 Mar 21 2014 format
>> drwxrwxr-x 258 johndoe devgrp 258 Mar 21 2014 pristine/
>> drwxrwxr-x 2 johndoe devgrp 2 Feb 23 18:03 tmp/
>> -rw-rw-r-- 1 johndoe devgrp 81847296 Feb 23 18:03 wc.db
>> -rw-rw-r-- 1 johndoe devgrp 0 Feb 23 18:03 wc.db-journal
>> ]]]
>
> You're definitely gont to want to set the directory permissions to
> "2775", in order to ensure that files created inside the subdirectory
> inherit the correct group permissions. Perhaps a "find . ! -group
> devgrp" might show such files, if they already exist?

Thanks for the suggestion ... maybe I'll look into it.

But for now this doesn't pose a problem for us, because we always set
umask to 002 when devs login to this build machine, so any files they
create beneath those directories, or anywhere else when they do
"build-work", will be fine.

(there have been some rare occurrences when a dev changed their umask,
and then this falls over ... but we deal with those ad hoc for the
moment)

-- 
Johan
Received on 2017-02-24 16:34:52 CET

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.