Changes file permissions.
See File.chmod
.
Same as Pathname.chmod
, but does not follow symbolic links.
See File.lchmod
.
Change owner and group of the file.
See File.chown
.
Same as Pathname.chown
, but does not follow symbolic links.
See File.lchown
.
Returns “type” of file (“file”, “directory”, etc).
See File.ftype
.
Opens the file for reading or writing.
See File.open
.
Returns the dirname
and the basename
in an Array
.
See File.split
.