chown.2
来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 35 行
2
35 行
.th CHOWN II 12/15/74.sh NAMEchown \*- change owner and group of a file.sh SYNOPSIS(chmod = 16.).br.ft Bsys chown; name; owner.s3chown(name, owner).brchar *name;.ft R.sh DESCRIPTIONThe filewhose name is given by the null-terminated string pointedto by.it namehas its owner and group changed tothe low and high bytes of.it ownerrespectively.Only the super-user mayexecute this call,because if users were able to give files away,they could defeat the (nonexistent)file-space accounting procedures..sh "SEE ALSO"chown (VIII), chgrp (VIII), passwd (V).sh DIAGNOSTICSThe error bit (c-bit) is seton illegal owner changes.From C a \*-1 returned value indicates error,0 indicates success.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?