首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

Linux资料权限,chmod

2013-07-09 
Linux文件权限,chmod$ chmod 755 ~/testfile$ chmod urwx,gorx ~/testfile$ chmod a+w ~/testfile$ chmo

Linux文件权限,chmod
$ chmod 755 ~/testfile$ chmod u=rwx,go=rx ~/testfile

$ chmod a+w ~/testfile

$ chmod 4755 ~/testfile //testfile原权限为755$ chomd u+s ~/testfile

?

4用2种模式,给路径加入sgid权限。常用于群组中用户间数据的共享

$ chomd 2755 ~/testpath/           //testpath原权限为755$ chmod g+s ~/testpath/

?

5 用2种模式,给路径加入sbit权限

$ chmod 1755 ~/testpath            //tsetpath原权限为755$ chmod o+t ~/testpath

?

热点排行