subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <jcor...@gmail.com>
Subject Re: .svn/wc.db as group writable
Date Fri, 24 Feb 2017 15:34:26 GMT
On Fri, Feb 24, 2017 at 3:07 PM, Nico Kadel-Garcia <nkadel@gmail.com> wrote:
> On Fri, Feb 24, 2017 at 5:17 AM, Johan Corveleyn <jcorvel@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

Mime
View raw message