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

📄 chmod.2

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 2
字号:
.th CHMOD II 12/15/74.sh NAMEchmod \*- change mode of file.sh SYNOPSIS(chmod = 15.).br.ft Bsys chmod; name; mode.s3chmod(name, mode).brchar *name;.ft R.sh DESCRIPTIONThe file whose nameis given as the null-terminated string pointed to by.it namehas its mode changed to.it mode.Modes are constructed by ORing together somecombination of the following:.s3.in +3 4000 set user ID on execution 2000 set group ID on execution 1000 save text image after execution 0400 read by owner 0200 write by owner 0100 execute (search on directory) by owner 0070 read, write, execute (search) by group 0007 read, write, execute (search) by others.in -3.s3Only the owner of a file (or the super-user) may change the mode.Only the super-user can set the 1000 mode..sh "SEE ALSO"chmod (I).sh DIAGNOSTICError bit(c-bit) set if.it namecannot be found or if current useris neither the owner of the file nor the super-user.From C, a \*-1 returned value indicates anerror, 0 indicates success.

⌨️ 快捷键说明

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