LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 687|回复: 0

A question of system call chown().

[复制链接]
发表于 2003-11-27 10:41:37 | 显示全部楼层 |阅读模式
Hi,all,
I know that when the owner or group of an executable file are changed by a nonsuper-user, the S_ISUID and S_ISGID mode bits are cleared. In case of a nongroup-executable file, the S_ISGID bit indicates mandatory locking, and is not cleared by a chown(). But POSIX does not specify whether this also happen when root does the chown. My question is what is the behaviour of ARM linux when root does the chown?

Regards
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表