淺談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文件夾屬性就是小編分享給大家的全部內(nèi)容了,希望能給大家一個參考,也希望大家多多支持腳本之家。
相關(guān)文章
linux系統(tǒng)對外開放3306、8080等端口,防火墻設置詳解
這篇文章主要介紹了linux系統(tǒng)對外開放3306、8080等端口,防火墻設置,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2019-05-05淺談Apache?Commons?Pool2池化技術(shù)
Apache?Commons?Pool2為開發(fā)者提供了一套豐富的API和靈活的配置選項,以實現(xiàn)對象的池化管理,本文就詳細的來介紹一下Apache?Commons?Pool2池化技術(shù),感興趣的可以了解一下2024-08-08解決Vmware虛擬機安裝centos8報錯“Section?%Packages?Does?Not?End?W
這篇文章介紹了解決Vmware虛擬機安裝centos8報錯“Section?%Packages?Does?Not?End?With?%End.?Pane?Is?Dead”的方法,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2022-05-05zabbix進行數(shù)據(jù)庫備份以及表分區(qū)的方法
這篇文章主要介紹了zabbix進行數(shù)據(jù)庫備份以及表分區(qū)的方法,需要的朋友可以參考下2015-10-10服務器Centos部署MySql并連接Navicat過程詳解
這篇文章主要介紹了服務器Centos部署MySql并連接Navicat過程詳解,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友可以參考下2020-07-07