typo
This commit is contained in:
parent
5a4733c5a6
commit
9c7f168e89
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ isContentWritePermOk file = ifM crippledFileSystem
|
|||
go AllShared = want writeModes
|
||||
go _ = return True
|
||||
want wantmode = do
|
||||
liftIO $ catchMaybeIO $ fileMode <$> getFileStatus file
|
||||
mmode <- liftIO $ catchMaybeIO $ fileMode <$> getFileStatus file
|
||||
return $ case mmode of
|
||||
Nothing -> True
|
||||
Just havemode -> havemode == combineModes (havemode:wantmode)
|
||||
|
|
Loading…
Add table
Reference in a new issue