Commit 0ae6a43e authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

Suggest chmod 755 instead of 644

Previous suggestion would clear executable bit, meaning directory
couldn't be entered. Fixes #11003.

Test Plan: Read message.

Reviewers: austin, thomie, dfeuer

Reviewed By: thomie, dfeuer

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1350

GHC Trac Issues: #11003
parent 9cb192ce
......@@ -630,7 +630,7 @@ checkPerms file =
-- #8248: Improving warning to include a possible fix.
putStrLn $ "*** WARNING: " ++ file ++
" is writable by someone else, IGNORING!" ++
"\nSuggested fix: execute 'chmod 644 " ++ file ++ "'"
"\nSuggested fix: execute 'chmod go-w " ++ file ++ "'"
return ok
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment