summaryrefslogtreecommitdiff
path: root/Utility/FileMode.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/FileMode.hs')
-rwxr-xr-xUtility/FileMode.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index b63575499..e9701d967 100755
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -113,10 +113,10 @@ isSticky = checkMode stickyMode
stickyMode :: FileMode
stickyMode = 512
-#endif
setSticky :: FilePath -> IO ()
setSticky f = modifyFileMode f $ addModes [stickyMode]
+#endif
{- Writes a file, ensuring that its modes do not allow it to be read
- by anyone other than the current user, before any content is written.