权限:
特殊权限:s
以文件属主的权限运行该程序
[root@localhost mnt]# ll /usr/bin/passwd
-rwsr-xr-x 1 root root 22960 2006-07-17 /usr/bin/passwd
chmod u=rwx,g=rx,o=rx /sbin/shutdown
chmod u+s /sbin/shutdown
S 权 限失效
g+s(2755):和目录权限一至;目录下所有创建的文件属组和该目录相同
chmod g+s /mnt
chgrp group2 /mnt
o+t(1777):
chmod o+wrx /test
chmod o+t /test 只有根用户和文件创建者可以修改,目录的创建这可以修改