System.Posix.Files.ByteString

# File modes

unionFileModes

intersectFileModes

nullFileMode

ownerReadMode

ownerWriteMode

ownerExecuteMode

ownerModes

groupReadMode

groupWriteMode

groupExecuteMode

groupModes

otherReadMode

otherWriteMode

otherExecuteMode

otherModes

setUserIDMode

setGroupIDMode

stdFileMode

accessModes

fileTypeModes

blockSpecialMode

characterSpecialMode

namedPipeMode

regularFileMode

directoryMode

symbolicLinkMode

socketMode

## Setting file modes

setFileMode

setFdMode

setFileCreationMask

## Checking file existence and permissions

fileAccess

fileExist

# File status

data FileStatus

## Obtaining file status

getFileStatus

getFdStatus

getSymbolicLinkStatus

## Querying file status

deviceID

fileID

fileMode

linkCount

fileOwner

fileGroup

specialDeviceID

fileSize

accessTime

modificationTime

statusChangeTime

accessTimeHiRes

modificationTimeHiRes

statusChangeTimeHiRes

isBlockDevice

isCharacterDevice

isNamedPipe

isRegularFile

isDirectory

isSymbolicLink

isSocket

# Creation

createNamedPipe

createDevice

# Hard links

createLink

removeLink

# Symbolic links

createSymbolicLink

readSymbolicLink

# Renaming files

rename

# Changing file ownership

setOwnerAndGroup

setFdOwnerAndGroup

setSymbolicLinkOwnerAndGroup

# Changing file timestamps

setFileTimes

setFileTimesHiRes

setFdTimesHiRes

setSymbolicLinkTimesHiRes

touchFile

touchFd

touchSymbolicLink

# Setting file sizes

setFileSize

setFdSize

# Find system-specific limits for a file

data PathVar

getPathVar

getFdPathVar