Mercurial > hg > soundsoftware-site
changeset 32:e06f46b0f1be live
* Add setgid bit on new repo
author | Chris Cannam |
---|---|
date | Thu, 21 Oct 2010 11:08:02 +0100 |
parents | d0edd5f981fd |
children | 9f4ebcdd78a6 |
files | extra/svn/reposman-soundsoftware.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/svn/reposman-soundsoftware.rb Fri Oct 01 15:34:36 2010 +0100 +++ b/extra/svn/reposman-soundsoftware.rb Thu Oct 21 11:08:02 2010 +0100 @@ -212,7 +212,7 @@ yield if block_given? else uid, gid = Etc.getpwnam($svn_owner).uid, ($use_groupid ? Etc.getgrnam(project.identifier).gid : Etc.getgrnam($svn_group).gid) - right = project.is_public ? 0775 : 0770 + right = project.is_public ? 2775 : 2770 yield if block_given? Find.find(repos_path) do |f| File.chmod right, f