首页 / 词典 / good

umask

  • 网络掩码;命令;八进制数;默认属性
umaskumask
  1. The system uses the umask value to reduce the originally requested permissions .

    系统使用umask值来减少原始请求的权限。

  2. Use the umask command to set a umask as well as display one .

    使用umask命令设置一个unmask并显示。

  3. Remember that the umask specifies which permissions should not be granted .

    请记得,umask指定了那个权限不被授予。

  4. Generally , this means you need to use umask and / or open 's parameters to limit initial access to just the user and maybe the user group .

    通常,这表示您需要使用umask和/或打开参数,将初始的访问权限局限于用户,也可以局限于用户所在的组。

  5. Use the-S option to display the umask symbolically , in a form that shows which are the permissions that are allowed .

    使用-S选项来从符号上显示umask,以显示哪个权限被允许的形式。

  6. Programs have many other inputs , such as the current directory , signals , memory maps , System V IPC , the umask , and the state of the filesystem .

    程序有很多其他的输入,比如当前目录、信号、内存映射、SystemVIPC、umask、文件系统状态。

  7. So , if you would like to keep your files more private and disallow all group or other access to newly created files , you would use a umask value of0077 .

    所以,如果您想要保持文件更专有,并且不允许所有组或者其他人访问新创建的文件,就是可以使用umask值0077。

  8. However , this permissive creation is affected by a umask value , which specifies what permissions a user does not want to grant automatically to newly created files or directories .

    但是,这个宽松的创建会受到umask值的影响,这个值指明了用户不想自动授予新创建的文件或者目录什么权限。

  9. Some implementations of mkstemp ( 3 ) don 't set the umask ( 2 ) to a limited value , so it 's wise to call umask ( 2 ) first to force the file to a restrictive value .

    mkstemp(3)的一些实现并没有将umask(2)设置为一个受限的值,所以聪明的做法是先调用umask(2)来强制将文件设置为受限的值。