umask 的“(2)”是什么意思?
What mean the "(2)" for the umask?
Git 用于 Windows。
我正在阅读 this 有关 git init
命令的文档:
--shared[=(false|true|umask|group|all|world|everybody|0xxx)]
Specify that the Git repository is to be shared amongst several users. This
allows users belonging to the same group to push into that repository.
When specified, the config variable "core.sharedRepository
" is set so
that files and directories under $GIT_DIR
are created with the
requested permissions. When not specified, Git will use permissions
reported by umask(2)
.
umask
的“(2)
”是什么意思?我看到 --shared
选项存在这样的值变体 (umask
)。一样吗?
git help umask
什么也没找到。
这只是指手册页的第 2 部分:
man 2 umask
Pages are traditionally referred to using the notation "name(section)": for example, ftp(1). The same page name may appear in more than one section of the manual, such as when the names of system calls, user commands, or macro packages coincide. Examples are man(1) and man(7), or exit(2) and exit(3).
Git 用于 Windows。
我正在阅读 this 有关 git init
命令的文档:
--shared[=(false|true|umask|group|all|world|everybody|0xxx)]
Specify that the Git repository is to be shared amongst several users. This allows users belonging to the same group to push into that repository. When specified, the config variable "core.sharedRepository
" is set so that files and directories under$GIT_DIR
are created with the requested permissions. When not specified, Git will use permissions reported byumask(2)
.
umask
的“(2)
”是什么意思?我看到 --shared
选项存在这样的值变体 (umask
)。一样吗?
git help umask
什么也没找到。
这只是指手册页的第 2 部分:
man 2 umask
Pages are traditionally referred to using the notation "name(section)": for example, ftp(1). The same page name may appear in more than one section of the manual, such as when the names of system calls, user commands, or macro packages coincide. Examples are man(1) and man(7), or exit(2) and exit(3).