Commit ca8bb9dff80a6ad26efd7b10a1854c8ca033f9ad
1 parent
7ae851f6
Exists in
master
and in
4 other branches
Fix projectmover dir permission
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/project_mover.rb
| ... | ... | @@ -16,7 +16,7 @@ module Gitlab |
| 16 | 16 | def execute |
| 17 | 17 | # Create new dir if missing |
| 18 | 18 | new_dir_path = File.join(Gitlab.config.git_base_path, new_dir) |
| 19 | - Dir.mkdir(new_dir_path) unless File.exists?(new_dir_path) | |
| 19 | + Dir.mkdir(new_dir_path, 0770) unless File.exists?(new_dir_path) | |
| 20 | 20 | |
| 21 | 21 | old_path = File.join(Gitlab.config.git_base_path, old_dir, "#{project.path}.git") |
| 22 | 22 | new_path = File.join(new_dir_path, "#{project.path}.git") | ... | ... |