diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-10-22 17:35:18 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-10-22 17:35:19 +0200 |
commit | 0ae6a43ebccca65c3a6b6172e0513802d303e84e (patch) | |
tree | 8567b060f8a9601590167c77a3fa8b29c59d19b2 /ghc | |
parent | 9cb192ce4b34a472041010df9c30f5d741eb0261 (diff) | |
download | haskell-0ae6a43ebccca65c3a6b6172e0513802d303e84e.tar.gz |
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
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/InteractiveUI.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index f3d2035b05..736b8a957e 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -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 |