Function: archive-int-to-mode

archive-int-to-mode is a function alias for file-modes-number-to-symbolic, defined in files.el.gz.

This function is obsolete since 28.1; use file-modes-number-to-symbolic instead.

Signature

(archive-int-to-mode MODE &optional FILETYPE)

Documentation

Return a description of a file's MODE as a string of 10 letters and dashes.

The returned string is like the mode description produced by "ls -l". For instance, if MODE is #o700, then it produces -rwx------. Note that this is NOT the same as the "chmod" style symbolic description accepted by file-modes-symbolic-to-number. FILETYPE, if provided, should be a character denoting the type of file, such as ?d for a directory, or ?l for a symbolic link, and will override the leading - character.

Aliases

archive-int-to-mode (obsolete since 28.1)