diff options
author | James Lopez <james@jameslopez.es> | 2018-12-05 11:52:56 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-12-17 18:14:35 +0300 |
commit | 43cc0d5a4ad4464901f700c0a46dbd304c1005c8 (patch) | |
tree | 7b3edb57d64f7e975a8c4bc1859e0502da31efe4 /spec/support | |
parent | 574ae4c7aaf34347839c9a44648bfcfea5a1e434 (diff) |
Fix persistent symlink in project import
- Fix permissions after untar is done
- Refactor command line util
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/import_export/export_file_helper.rb | 2 |
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 |