Mercurial > emacs
comparison lispref/files.texi @ 47514:e0d6f0b369d1
Add `umask' to the concept index.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 17 Sep 2002 19:17:58 +0000 |
parents | 2c01ee3e5305 |
children | 5492d1831d2a |
comparison
equal
deleted
inserted
replaced
47513:299fcc2c1a7a | 47514:e0d6f0b369d1 |
---|---|
1320 be an integer). Only the low 12 bits of @var{mode} are used. | 1320 be an integer). Only the low 12 bits of @var{mode} are used. |
1321 @end defun | 1321 @end defun |
1322 | 1322 |
1323 @c Emacs 19 feature | 1323 @c Emacs 19 feature |
1324 @defun set-default-file-modes mode | 1324 @defun set-default-file-modes mode |
1325 @cindex umask | |
1325 This function sets the default file protection for new files created by | 1326 This function sets the default file protection for new files created by |
1326 Emacs and its subprocesses. Every file created with Emacs initially has | 1327 Emacs and its subprocesses. Every file created with Emacs initially has |
1327 this protection, or a subset of it (@code{write-region} will not give a | 1328 this protection, or a subset of it (@code{write-region} will not give a |
1328 file execute permission even if the default file protection allows | 1329 file execute permission even if the default file protection allows |
1329 execute permission). On Unix and GNU/Linux, the default protection is | 1330 execute permission). On Unix and GNU/Linux, the default protection is |