Skip to content
Snippets Groups Projects
Commit ca8bb9df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix projectmover dir permission

parent 7ae851f6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,7 +16,7 @@ module Gitlab
def execute
# Create new dir if missing
new_dir_path = File.join(Gitlab.config.git_base_path, new_dir)
Dir.mkdir(new_dir_path) unless File.exists?(new_dir_path)
Dir.mkdir(new_dir_path, 0770) unless File.exists?(new_dir_path)
 
old_path = File.join(Gitlab.config.git_base_path, old_dir, "#{project.path}.git")
new_path = File.join(new_dir_path, "#{project.path}.git")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment