Permission for .svn/tmp is lost after svn cleanup
Hi, I need to have rw for group svnusers for .svn/tmp to be able to let different users to check in and commit changes but every time cleanup are used only the owner has write permission. Does anyone know how to let a group to have write permission as well? Regards Johan
Re: Permission for .svn/tmp is lost after svn cleanup
Hi, Thanks for the tips but it does not work. After svn cleanup the .svn/tmp-folder are recreated? with some kind of default credentials (2755), I would like to have 2775. I can't find any kind of setting for this but I might have missed it? Best regards Johan Ryberg 2015-08-10 12:24 GMT+02:00 Nico Kadel-Garcia : > On Mon, Aug 10, 2015 at 3:27 AM, Branko Čibej wrote: >> On 07.08.2015 22:44, Johan Ryberg wrote: >>> Hi, >>> >>> I need to have rw for group svnusers for .svn/tmp to be able to let >>> different users to check in and commit changes but every time cleanup >>> are used only the owner has write permission. >>> >>> Does anyone know how to let a group to have write permission as well? >> >> Change the umask, otherwise you'll have other problems, not just with >> permissions on .svn/tmp. >> >> -- Brane > > And set all directory permissions in that working copy to 2770 or > perhaps 2775 if you want to permit non group members to read the > content. In the Linux or UNIX world, that would be: > > find .svn -type d -exec chmod 2770 {} \; -print
Re: Permission for .svn/tmp is lost after svn cleanup
Sorry, umask did the trick and it now works as expected Just for the record for others: cd find .svn -type d -exec chmod 2770 {} \; -print cd .svn umask u=rwx,g=rwx,o=rx Thanks for the help Regards Johan 2015-08-12 13:40 GMT+02:00 Johan Ryberg : > Hi, > > Thanks for the tips but it does not work. > > After svn cleanup the .svn/tmp-folder are recreated? with some kind of > default credentials (2755), I would like to have 2775. > > I can't find any kind of setting for this but I might have missed it? > > Best regards Johan Ryberg > > 2015-08-10 12:24 GMT+02:00 Nico Kadel-Garcia : >> On Mon, Aug 10, 2015 at 3:27 AM, Branko Čibej wrote: >>> On 07.08.2015 22:44, Johan Ryberg wrote: >>>> Hi, >>>> >>>> I need to have rw for group svnusers for .svn/tmp to be able to let >>>> different users to check in and commit changes but every time cleanup >>>> are used only the owner has write permission. >>>> >>>> Does anyone know how to let a group to have write permission as well? >>> >>> Change the umask, otherwise you'll have other problems, not just with >>> permissions on .svn/tmp. >>> >>> -- Brane >> >> And set all directory permissions in that working copy to 2770 or >> perhaps 2775 if you want to permit non group members to read the >> content. In the Linux or UNIX world, that would be: >> >> find .svn -type d -exec chmod 2770 {} \; -print