Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Jarvis <jarv@gitlab.com>2018-12-21 11:09:22 +0300
committerJohn Jarvis <jarv@gitlab.com>2018-12-21 11:09:22 +0300
commitfbd4319a828bda140f000dd653fe3d4ad5f837bb (patch)
tree97cb98b26eceebd13d05a63ce39e1332770a6335 /spec/support
parent3f9724f6fe061ba8f86041e3e3afc1aadb5a8478 (diff)
parent43cc0d5a4ad4464901f700c0a46dbd304c1005c8 (diff)
Merge branch 'security-import-symlink' into 'master'
[master] Persistent Symlink in Project Import See merge request gitlab/gitlabhq!2673
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/import_export/export_file_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/import_export/export_file_helper.rb b/spec/support/import_export/export_file_helper.rb
index a49036c3b80..ac320934f5a 100644
--- a/spec/support/import_export/export_file_helper.rb
+++ b/spec/support/import_export/export_file_helper.rb
@@ -133,6 +133,6 @@ module ExportFileHelper
end
def file_permissions(file)
- File.stat(file).mode & 0777
+ File.lstat(file).mode & 0777
end
end