轻描淡写是什么意思| 过什么不什么| 老舍被誉为什么| 芙蓉花是什么花| 部分是什么意思| 一什么傍晚| 野生甲鱼吃什么| 13点是什么意思| 化痰吃什么药| 20岁属什么的生肖| 广东属于什么地区| 淋雨了喝什么驱寒| 嗳气是什么原因引起的| 梦见奶奶去世预示什么| 做梦梦到踩到屎是什么意思| 月经量少吃什么调理快| 经常喝茶叶有什么好处| 肌酐高什么东西不能吃| 拖累是什么意思| zuczug是什么牌子| 九价疫苗是什么| 红颜什么意思| 低血糖是什么原因引起的| 毛泽东是什么样的人| 冠脉cta是什么检查| 电焊打眼睛用什么眼药水| 怀孕嗜睡什么时候开始| 慢性咽炎吃什么药| 膈是什么器官| 胆汁反流用什么药| 楞严经讲的是什么| 宫颈cin1级是什么意思| 花生有什么营养| 寒热往来什么意思| 小孩腿疼膝盖疼可能是什么原因| 用进废退是什么意思| 什么人容易长智齿| 梦见一个人死了是什么意思| 火影忍者什么时候出的| 水杯什么材质的好| 攻受是什么意思| 孕晚期宫缩是什么感觉| 骨髓水肿是什么意思| 奇亚籽是什么| 无患子为什么叫鬼见愁| 皮脂腺囊肿吃什么消炎药| 1月22号是什么星座| 喝啤酒吃什么菜最好| 四大才子中状元是什么生肖| 处是什么结构| 无印良品是什么意思| prada是什么品牌| 马尿是什么意思| 更年期失眠吃什么药调理效果好| 黑洞里面有什么| 手指疣初期什么样子| 吃什么补蛋白最快| 不自觉摇头是什么病| 办理生育登记有什么用| 长期熬夜有什么坏处| 代字五行属什么| 洛什么意思| 过期牛奶有什么用途| 肉芽是什么| skechers是什么牌子| 高铁特等座有什么待遇| 控销药品什么意思| eyki是什么牌子的手表| 杜仲有什么功效| 片状低回声区什么意思| saa偏高说明什么| 什么的桌椅| 草木皆兵的意思是什么| 为什么乳头会痒| 拉垮什么意思| 夏天什么时候结束| 羊猄皮是什么皮| 男人山根有痣代表什么| 月经失调是什么原因引起的| 软组织感染是什么意思| 好高什么远| 维生素b有什么作用| 宫颈癌前期有什么症状| 金秘书为什么那样| 新疆为什么天黑的晚| 10月6日什么星座| 肺结节是什么症状| 小孩不说话什么原因| 耳朵一直痒是什么原因| 颠是什么意思| 梦见打死狗有什么预兆| 预防是什么意思| 纳差什么意思| dan是什么意思| 7月14日是什么日子| 落差是什么意思| 猪与什么属相相冲| bpd是胎儿的什么| 588是什么意思| 狮子座是什么性格| 甲流是什么| 蘖是什么意思| 柚子不能和什么一起吃| 溃疡是什么原因引起的| 早期流产是什么症状| 武松的性格特点是什么| 孕吐反应强烈说明什么| 日行一善是什么意思| 除体内湿热最好的中成药是什么| 耳朵真菌感染用什么药最好| 医学影像技术是什么| 腐女是什么意思| 子宫内膜病变有什么症状| 四月二十五是什么星座| 梦见怀孕是什么意思| 今天中午吃什么| 光是什么颜色| 凯乐石属于什么档次| 脚为什么会脱皮| 心发慌是什么原因| mv是什么单位| 感统失调挂什么科| 吃什么长骨头最快| 胆固醇偏高吃什么食物可以降胆固醇| 什么的船只| 刘晓庆什么星座| deep是什么意思| 弥漫性肝病是什么意思| 贫血的人适合喝什么茶| 早晨醒来口苦是什么原因| 彩宝是什么| 胃炎吃什么水果| 补办护照需要什么材料| 被舔下面是什么感觉| 女人长期喝西洋参有什么好处| acl医学上是什么意思| 绿痰吃什么药| 生男孩女孩取决于什么| 彩色多普勒超声检查是什么| tgi是什么意思| 荭是什么意思| hankook是什么轮胎| 百福骈臻是什么意思| 来大姨妈吃什么| 同比增长是什么意思| 法院庭长是什么级别| sap是做什么的| 骨裂什么症状| 腰封是什么意思| 咽喉炎是什么症状| 做肝功能检查挂什么科| ra是什么意思| 腱鞘炎是什么引起的| 哑巴是什么生肖| 清风明月是什么意思| 间隔旁型肺气肿是什么| 孕妇耳鸣是什么原因引起的| 月经老是提前是什么原因| lee属于什么档次| 什么是超话| 热量是什么| 什么样的房子不能住人脑筋急转弯| 肾痛在什么位置痛| b是什么| a型rhd阳性是什么意思| 无聊可以干什么| 鲁迅原名叫什么| 吃什么容易上火| 蜗牛爱吃什么| 牙齿经常出血是什么原因| 惊什么万什么| 静是什么意思| 什么水果含钾高| dha中文叫什么| 冬至说什么祝福语| 一动就出汗是什么原因| 小孩肛门瘙痒什么原因| 吃什么补| 斑秃是什么原因造成的| 四维和大排畸有什么区别| 脑门痒痒是什么预兆| 猪心炖什么好吃又营养| 梅长苏是什么电视剧| 上甘岭在什么地方| 养病是什么意思| 送爸爸什么礼物最实用| 什么是桥本氏甲状腺炎| 五七年属什么生肖| 高丽参是什么参| 莫名其妙的名是什么意思| 牛排炖什么好吃| 10月出生是什么星座| 什么来什么去的四字词语| 犬字旁的字和什么有关| 面包属于什么类食品| 娃娃鱼吃什么| 甲亢是什么原因造成的| 丢包率是什么意思| 放量十字星是什么意思| 肠粉是什么做的| 什么变化| 小孩子上户口需要什么证件| td是什么意思| 缗什么意思| 玻璃用什么材料做的| 66年属马的是什么命| 女频是什么| 多吃苹果有什么好处| 尿检白细胞阳性是什么意思| 割包为什么很多人后悔| 三心二意是什么意思| 查艾滋挂什么科| 10月生日是什么星座| 自食其力是什么意思| 眉心跳动代表什么预兆| 护士证什么时候下来| 阻断是什么意思| 10.25是什么星座| 小恙是什么意思| 助听器什么价位| c反应蛋白高是什么意思| 梦见死去的亲人又活了是什么意思| 扎心是什么意思| 前胸后背出汗是什么原因造成的| 半夜醒来口干舌燥是什么原因| 低脂是什么意思| 90年是什么命| 飞行模式有什么用| 敌是什么生肖| 轻奢什么意思| 脑多普勒检查什么| 鬼火是什么| 周星驰什么星座| 感染hpv用什么药| 晚上难以入睡是什么原因| 儿保科主要是检查什么| 为什么脚会肿| 什么是肾阴虚和肾阳虚| 妊娠囊是什么| 胎儿头偏大是什么原因| 杭盖是什么意思| 宜昌有什么特产| 入职体检70元一般检查什么| 腋毛有什么作用| 奢靡是什么意思| 眉毛里面有痣代表什么| 长期熬夜有什么危害| 前列腺增大伴钙化灶是什么意思| 什么鱼清蒸最好吃| 新生儿睡觉突然大哭是什么原因| 来大姨妈吃什么对身体好| 插入阴道是什么感觉| 性格好的女生是什么样| 牛肉不能和什么一起吃| 中暑了吃什么好| 7月11日是什么日子| c2是什么车型| 处女座女和什么星座最配| 刺史是什么官职| 为什么会一直放屁| 突然耳朵疼是什么原因| triangle是什么意思| 辰砂是什么| 蜱虫最怕什么药| 百度
DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

做梦吃屎有什么预兆


chmod, fchmod -- change mode of file 百度 《从行政推动到内源发展:中国农业农村的再出发》,郁建兴等著,北京师范大学出版社2013年4月出版。

Synopsis

   #include <sys/types.h>
   #include <sys/stat.h>
   

int chmod(const char *path, mode_t mode);

int fchmod(int fildes, mode_t mode);

Description

chmod and fchmod set the access permission portion of the mode of the file whose name is given by path or referenced by the descriptor fildes to the bit pattern contained in mode. If path or fildes are symbolic links, the access permissions of the target of the symbolic links are set. Access permission bits are interpreted as follows:

S_ISUID 04000 Set user ID on execution.
S_ISGID 020#0 Set group ID on execution if # is 7, 5, 3, or 1
    Enable mandatory file/record locking if # is 6, 4, 2, or 0
S_ISVTX 01000 Save text image after execution (sticky bit).
S_IRWXU 00700 Read, write, execute by owner.
S_IRUSR 00400 Read by owner.
S_IWUSR 00200 Write by owner.
S_IXUSR 00100 Execute (search if a directory) by owner.
S_IRWXG 00070 Read, write, execute by group.
S_IRGRP 00040 Read by group.
S_IWGRP 00020 Write by group.
S_IXGRP 00010 Execute by group.
S_IRWXO 00007 Read, write, execute (search) by others.
S_IROTH 00004 Read by others.
S_IWOTH 00002 Write by others
S_IXOTH 00001 Execute by others.

 S_ISUID   04000   Set user ID on execution.
 S_ISGID   020#0   Set group ID on execution if # is 7, 5, 3, or 1
                   Enable mandatory file/record locking if # is 6, 4, 2, or 0
 S_ISVTX   01000   Save text image  after execution (sticky bit).
 S_IRWXU   00700   Read, write, execute by owner.
 S_IRUSR   00400   Read by owner.
 S_IWUSR   00200   Write by owner.
 S_IXUSR   00100   Execute (search if a directory) by owner.
 S_IRWXG   00070   Read, write, execute by group.
 S_IRGRP   00040   Read by group.
 S_IWGRP   00020   Write by group.
 S_IXGRP   00010   Execute by group.
 S_IRWXO   00007   Read, write, execute (search) by others.
 S_IROTH   00004   Read by others.
 S_IWOTH   00002   Write by others
 S_IXOTH   00001   Execute by others.

Modes are constructed by an OR of the access permission bits.

The effective user ID of the process must match the owner of the file, or the process must have the P_OWNER privilege, to change the mode of the file.

If the process does not have the P_OWNER privilege and the file is not a directory, mode bit 01000 (save text image on execution) is cleared on the file.

If the effective group ID of the process does not match the group ID of the file and the process does not have the P_OWNER privilege, mode bit 02000 (set group ID on execution) is cleared on the file.

If a 0410 executable file has the sticky bit (mode bit 01000) set, the operating system will not delete the program text from the swap area when the last user process terminates. If a 0413 or ELF executable file has the sticky bit set, the operating system will not delete the program text from memory when the last user process terminates. In either case, if the sticky bit is set the text will already be available (either in a swap area or in memory) when the next user of the file executes it, thus making execution faster.

If a directory is writable and the sticky bit, S_ISVTX, is set on the directory, a process may remove or rename files within that directory only if one or more of the following is true:

If the mode bit 02000 (set group ID on execution) is set and the mode bit 00010 (execute or search by group) is not set, mandatory file/record locking will exist on a regular file. This may affect future calls to open(2), creat(2), read(2), and write(2) on this file.

Additional access permissions beyond those indicated by the mode bits may be placed on the file. [See acl(2).]

The following environment variables affect the execution of chmod


LC_MESSAGES
Determines the locale to be used for diagnostic messages. If available, these messages will be retrieved from the message data base, uxcore.abi.

LC_ALL
If a non-empty string, this overrides the values of all the other internationalization variables.

LANG
The default value for internationalization variables that are unset or null.

Return values

On success, chmod and fchmod return 0 and mark for update the st_ctime field of the file. On failure, chmod and fchmod return ``-1'', set errno to identify the error, and the file mode is unchanged.

In the following conditions, chmod fails and sets errno to:


EACCES
Search permission is denied on a component of the path prefix of path.

EACCES
Write permission on the named file is denied.

EFAULT
path points outside the allocated address space of the process.

EINTR
A signal was caught during execution of the system call.

EINVAL
An attempt was made to set file/record locking on a file on an NFS mounted filesystem.

EIO
An I/O error occurred while reading from or writing to the file system.

ELOOP
Too many symbolic links were encountered in translating path.

EMULTIHOP
Components of path require hopping to multiple remote machines and file system type does not allow it.

ENAMETOOLONG
The length of the path argument exceeds {PATH_MAX}, or the length of a path component exceeds {NAME_MAX} while _POSIX_NO_TRUNC is in effect.

ENOTDIR
A component of the prefix of path is not a directory.

ENOENT
Either a component of the path prefix, or the file referred to by path does not exist or is a null pathname.

ENOLINK
fildes points to a remote machine and the link to that machine is no longer active.

EPERM
The effective user ID does not match the owner of the file and the process does not have the P_OWNER privilege.

EROFS
The file referred to by path resides on a read-only file system.

In the following conditions, fchmod fails and sets errno to:


EBADF
fildes is not an open file descriptor

EIO
An I/O error occurred while reading from or writing to the file system.

EINTR
A signal was caught during execution of the fchmod system call.

ENOLINK
path points to a remote machine and the link to that machine is no longer active.

EPERM
The effective user ID does not match the owner of the file and the process does not have the P_OWNER privilege.

EROFS
The file referred to by fildes resides on a read-only file system.

References

access(2), acl(2), chmod(1) chown(2), creat(2), exec(2), fcntl(2), getacl(1), mkfifo(3C), mknod(2), open(2), read(2), setacl(1), stat(2), stat(5), write(2)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004
眼角痒是什么原因 臭屁多是什么原因 尿道感染有什么症状 盗墓笔记讲的是什么故事 相声海清是什么意思
为什么会痛经 黑鱼又叫什么鱼 梦见搬家是什么预兆 扁桃体肿大吃什么药好 dwi呈高信号什么意思
什么叫周围神经病 木瓜有什么功效 proof是什么意思 禄存是什么意思 1997年什么命
脚肿是什么原因造成的 胆汁反流吃什么药 什么样的人容易得甲减 精血亏虚吃什么中成药 查幽门螺旋杆菌挂什么科
除皱针什么牌子效果最好yanzhenzixun.com 什么的池塘hcv9jop7ns1r.cn 总是犯困是什么原因hcv8jop5ns8r.cn 镶是什么意思hcv9jop1ns7r.cn 盥洗室什么意思hcv8jop6ns3r.cn
女人做梦哭醒预示什么hcv8jop1ns5r.cn 胳膊疼是什么病的前兆hcv8jop3ns9r.cn 血小板计数偏高是什么意思hcv7jop5ns1r.cn 观察是什么意思chuanglingweilai.com ptc是什么hcv8jop4ns4r.cn
脂肪粒是什么原因引起的hcv9jop2ns1r.cn 3月2号什么星座hcv8jop1ns7r.cn 北京市副市长什么级别hcv7jop7ns4r.cn 流鼻血是什么病的前兆hcv7jop5ns1r.cn 什么的衣服hcv9jop3ns2r.cn
寒冷的反义词是什么hcv8jop4ns5r.cn 血糖偏高吃什么食物好hcv9jop4ns6r.cn 金钱草长什么样子图片hcv8jop1ns7r.cn 企鹅是什么意思hcv9jop1ns6r.cn 什么时候敷面膜是最佳时间inbungee.com
百度