Function: tramp-compat-set-file-modes

tramp-compat-set-file-modes is a and interactive for set-file-modes, defined in fileio.c.

Signature

(tramp-compat-set-file-modes FILENAME MODE &optional FLAG)

Documentation

Set mode bits of file named FILENAME to MODE (an integer).

Only the 12 low bits of MODE are used. If optional FLAG is nofollow, do not follow FILENAME if it is a symbolic link.

Interactively, prompt for FILENAME, and read MODE with read-file-modes, which accepts symbolic notation, like the chmod command from GNU Coreutils.

Key Bindings

Aliases

tramp-compat-set-file-modes chmod