Skip to content
Snippets Groups Projects
Unverified Commit 6d41f4fa authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #5061 from amyspark/quarantine-symlinks

Cask: set write permissions on symlinks
parents 2cb0050a 2c9b599c
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,15 @@ module Cask
resolved_paths = Pathname.glob(to/"**/*", File::FNM_DOTMATCH)
system_command!("/bin/chmod", args: ["-R", "u+w", to])
system_command!("/usr/bin/xargs",
args: [
"-0",
"--",
"/bin/chmod",
"-h",
"u+w",
],
input: resolved_paths.join("\0"))
quarantiner = system_command("/usr/bin/xargs",
args: [
......
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