Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-10-12 22:02:30 +0400
committerisaacs <i@izs.me>2011-10-12 22:02:30 +0400
commitdd7359a5d275c659bdcfb17c26314cb13ec37e57 (patch)
treed7713f6a3698b08a1c9a11dc52eb6a78cae71f13 /doc
parentf85a3938c5a00e9682c982b1d14f0cc9c284d8d9 (diff)
Close #1509 Add 'umask' config option
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/cli/config.md b/doc/cli/config.md
index b5827d0d7..121df95a2 100644
--- a/doc/cli/config.md
+++ b/doc/cli/config.md
@@ -611,6 +611,18 @@ The location of a user-level ignore file to apply to all packages.
If not found, but there is a .gitignore file in the same directory, then
that will be used instead.
+### umask
+
+* Default: 022
+* Type: Octal numeric string
+
+The "umask" value to use when setting the file creation mode on files
+and folders.
+
+Folders and executables are given a mode which is `0777` masked against
+this value. Other files are given a mode which is `0666` masked against
+this value. Thus, the defaults are `0755` and `0644` respectively.
+
### version
* Default: false