Merge pull request #4782 from amyspark/fix-quarantine-broken-symlinks
quarantine: do not automatically follow symlinks
This commit is contained in:
commit
ad66d54143
@ -69,7 +69,7 @@ module Hbc
|
||||
quarantine_status = status(from, command: command)
|
||||
|
||||
quarantiner = command.run("/usr/bin/xattr",
|
||||
args: ["-w", "-r", QUARANTINE_ATTRIBUTE, quarantine_status, to],
|
||||
args: ["-w", "-rs", QUARANTINE_ATTRIBUTE, quarantine_status, to],
|
||||
print_stderr: false)
|
||||
|
||||
return if quarantiner.success?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user