mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-08-15 21:27:27 +00:00
Documented that chmod(2) will change a file of type TXT or SRC to a
shell script if the S_IXUSR flag is set.
This commit is contained in:
@@ -126,6 +126,14 @@ interprets
|
|||||||
as GS/OS access bits. In order to get this behavior with the GNO
|
as GS/OS access bits. In order to get this behavior with the GNO
|
||||||
implementation, mode mapping must be turned off (see
|
implementation, mode mapping must be turned off (see
|
||||||
.BR mapMode (3)).
|
.BR mapMode (3)).
|
||||||
|
.LP
|
||||||
|
Under GNO, if UNIX mode mapping is in effect, and the file type
|
||||||
|
is either TXT or SRC, and the
|
||||||
|
.BR S_IXUSR
|
||||||
|
bit in
|
||||||
|
.IR mode
|
||||||
|
is set, then the file is changed into a shell script by setting the
|
||||||
|
file type to SRC and the auxilliary file type to EXEC.
|
||||||
.SH RETURN VALUES
|
.SH RETURN VALUES
|
||||||
Upon successful completion, a value of 0 is returned.
|
Upon successful completion, a value of 0 is returned.
|
||||||
Otherwise, a value of -1 is returned and
|
Otherwise, a value of -1 is returned and
|
||||||
|
Reference in New Issue
Block a user