Skip to content
Snippets Groups Projects
Unverified Commit ad66d541 authored by Vítor Galvão's avatar Vítor Galvão Committed by GitHub
Browse files

Merge pull request #4782 from amyspark/fix-quarantine-broken-symlinks

quarantine: do not automatically follow symlinks
parents 0853fe14 4c47a4b7
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
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