浅谈linux rwxrwxrwt文件夹属性
/tmp 的permission是rwxrwxrwt
chmod 0777 /abc rwxrwxrwx
chmod 777 /abc rwxrwxrwx
chmod 1777 /abc rwxrwxrwt
The "t" character in your permission indicates that only the user (and the root) that has created the file inside of /tmp folder can delete/modify that specific file.
suppose chmod 1777 /tmp
here is 2 part
1 and 777
1 mean : this file only be deleted by root, its called sticky bit ( i guess) need to check again
rwx rwx rw t
owner group other only deleted by root
so this file is user has full access
group has full access
other has read and write
but this file only be deleted by root
以上这篇浅谈linux rwxrwxrwt文件夹属性就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。
相关文章
linux系统对外开放3306、8080等端口,防火墙设置详解
这篇文章主要介绍了linux系统对外开放3306、8080等端口,防火墙设置,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧2019-05-05
解决Vmware虚拟机安装centos8报错“Section %Packages Does Not End W
这篇文章介绍了解决Vmware虚拟机安装centos8报错“Section %Packages Does Not End With %End. Pane Is Dead”的方法,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧2022-05-05
服务器Centos部署MySql并连接Navicat过程详解
这篇文章主要介绍了服务器Centos部署MySql并连接Navicat过程详解,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下2020-07-07


最新评论