File access manipulation


isWorldRead (path [, option]), isWorldWrite (path [, option]), isWorldExecute (path [, option]), isGroupRead (path [, option]), isGroupWrite (path [, option]), isGroupExecute (path [, option]), isOwnerRead (path [, option]), isOwnerWrite (path [, option]), isOwnerExecute (path [, option])
These atoms test whether files or directories are world/group/owner read/writable. The optional option argument can be either set to on (the default) or off as desired.

setWorldRead (path), setWorldWrite (path), setWorldExecute (path), setGroupWrite (path), setGroupExecute (path), setOwnerRead (path), setOwnerWrite (path), setOwnerExecute (path)
These are the same as the previous atoms except that they will set the indicatedfile access if it has not been done already. As with all Pacman operations, the change in file access will be undone when the Pacman package is uninstalled. The optional option argument can be either set to on (the default) or off as desired.

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.

absPath ( [[path])
absPath requires that the root directory of the Pacman installation is an absolute path rather than a symlink path.


Pacman Headquarters