X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Futilities.texi;h=1d279f57ed37a2fc9d2037365fda994dec5dc4c0;hb=b016884ff112ca57e89f9d0298eb70079fece20d;hp=db7daa36093e016f73c5ac2309530650e536d15f;hpb=b321086267ad1014dc5d09886396cde30f094437;p=pspp-builds.git diff --git a/doc/utilities.texi b/doc/utilities.texi index db7daa36..1d279f57 100644 --- a/doc/utilities.texi +++ b/doc/utilities.texi @@ -20,6 +20,7 @@ encountered in the input. * FINISH:: Terminate the PSPP session. * HOST:: Temporarily return to the operating system. * INCLUDE:: Include a file within the current one. +* PERMISSIONS:: Change permissions on a file. * QUIT:: Terminate the PSPP session. * SET:: Adjust PSPP runtime parameters. * SHOW:: Display runtime parameters. @@ -169,7 +170,7 @@ to the operating system. This command cannot be used if the SAFER setting is active. -@node INCLUDE, QUIT, HOST, Utilities +@node INCLUDE, PERMISSIONS, HOST, Utilities @section INCLUDE @vindex INCLUDE @vindex @@ @@ -187,7 +188,31 @@ command file. Include files may be nested to any depth, up to the limit of available memory. -@node QUIT, SET, INCLUDE, Utilities +@node PERMISSIONS, QUIT, INCLUDE, Utilities +@comment node-name, next, previous, up +@section PERMISSIONS +@vindex PERMISSIONS +@cindex mode +@cindex file mode +@cindex changing file permissions + +@display +PERMISSIONS + FILE='filename' + /PERMISSIONS = @{READONLY,WRITEABLE@}. +@end display + +@cmd{PERMISSIONS} changes the permissions of a file. +There is one mandatory subcommand which specifies the permissions to +which the file should be changed. +If you set a file's permission to READONLY, then the file will become +unwritable either by you or anyone else on the system. +If you set the permission to WRITEABLE, then the file will become +writeable by you; the permissions afforded to others will be +unchanged. + + +@node QUIT, SET, PERMISSIONS, Utilities @section QUIT @vindex QUIT