⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 umask.2

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 2
字号:
.TH UMASK 2.SH NAMEumask \- set file creation mode mask.SH SYNOPSIS.B umask(complmode).SH DESCRIPTION.I Umasksets a mask used whenever a file is created by.IR creat (2)or.IR mknod (2):the actual mode (see.IR chmod (2))of the newly-created file is the logical.B andof the given mode and the complement of the argument.Only the low-order 9 bits of the mask (the protection bits)participate.In other words, the mask shows the bits to be turned offwhen files are created..PPThe previous value of the mask is returned by the call.The value is initially 0 (no restrictions).The mask is inherited by child processes..SH SEE ALSOcreat(2), mknod(2), chmod(2).SH ASSEMBLER(umask = 60.).br.B sys umask; complmode

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -