changeset 99947:38651f6d4a22

(Misc File Ops): Document set-file-modes.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 26 Nov 2008 05:31:08 +0000
parents c1a4ae9a6c45
children 54f4d6ed093e
files doc/emacs/files.texi
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/files.texi	Wed Nov 26 05:30:59 2008 +0000
+++ b/doc/emacs/files.texi	Wed Nov 26 05:31:08 2008 +0000
@@ -1580,6 +1580,18 @@
   Not all systems support symbolic links; on systems that don't
 support them, this command is not defined.
 
+@findex set-file-modes
+@cindex file modes
+@cindex file permissions
+  @kbd{M-x set-file-modes} reads a file name followed by a @dfn{file
+mode}, and applies that file mode to the specified file.  File modes,
+also called @dfn{file permissions}, determine whether a file can be
+read, written to, or executed, and by whom.  This command reads file
+modes using the same symbolic or octal format accepted by the
+@command{chmod} command; for instance, @samp{u+x} means to add
+execution permission for the user who owns the file.  It has no effect
+on operating systems that do not support file modes.
+
 @node Compressed Files
 @section Accessing Compressed Files
 @cindex compression