Mercurial > hg > soundsoftware-site
changeset 34:09b1d4349da3 live
* Doh - of course we still need the leading 0 for octal
author | Chris Cannam |
---|---|
date | Thu, 21 Oct 2010 11:19:14 +0100 |
parents | 9f4ebcdd78a6 |
children | 371eac10df0b 8c3409528d3a |
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 Thu Oct 21 11:08:27 2010 +0100 +++ b/extra/svn/reposman-soundsoftware.rb Thu Oct 21 11:19:14 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 ? 2775 : 2770 + right = project.is_public ? 02775 : 02770 yield if block_given? Find.find(repos_path) do |f| File.chmod right, f