fix permissions

This commit is contained in:
James Lopez 2018-07-06 17:52:52 +02:00
parent a2bf164154
commit 44be867d21
No known key found for this signature in database
GPG key ID: 756BF8E9D7C0CF39

View file

@ -2,6 +2,7 @@ module Gitlab
module ImportExport module ImportExport
module AfterExportStrategies module AfterExportStrategies
class BaseAfterExportStrategy class BaseAfterExportStrategy
extend Gitlab::ImportExport::CommandLineUtil
include ActiveModel::Validations include ActiveModel::Validations
extend Forwardable extend Forwardable
@ -56,7 +57,7 @@ module Gitlab
lock_path = project.import_export_shared.archive_path lock_path = project.import_export_shared.archive_path
FileUtils.mkdir_p(lock_path) mkdir_p(lock_path)
File.join(lock_path, AFTER_EXPORT_LOCK_FILE_NAME) File.join(lock_path, AFTER_EXPORT_LOCK_FILE_NAME)
end end