File access manipulation


isWorldRead (path), isWorldWrite (path), isWorldExecute (path), isGroupRead (path), isGroupWrite, isGroupExecute, isOwnerRead (path), isOwnerWrite (path), isOwnerExecute (path)
These atoms test whether files or directories are world/group/owner read/writable.

setWorldReadable (path), setWorldWriteable (path), setWorldExecutable (path), setGroupWriteable (path), setGroupExecutable (path), setOwnerReadable (path), setOwnerWriteable (path), setOwnerExecutable (path)
These are the same as the previous atoms except that they will set the indicated file access if it has not been done alreay. As with all Pacman operations, the change in file access will be undone when the Pacman package is uninstalled.

ownedBy (path[,username])
ownedBy tests that the file specified by path is owned by username. The default for username is the username of the installer.

chown (path[,username]), chownR (path[,username])
chown changes the ownership of a file to username. username defaults to the username of the installer. chownR recursively changes the ownership of a directory tree.

Pacman Headquarters