Skip to contents

This function changes the mode (permissions) of the specified file or directory to the provided mode.

Usage

Path_chmod(paths, mode)

Arguments

paths

A character vector of file paths.

mode

The mode (permissions) to set for the file or directory.

Examples

if (FALSE) {
Path_chmod("file.txt", "755")
}