国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Linux服務器 > 正文

淺談linux rwxrwxrwt文件夾屬性

2024-09-05 23:03:13
字體:
來源:轉載
供稿:網友

/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文件夾屬性就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持VEVB武林網。

 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 昌宁县| 务川| 罗源县| 灵丘县| 涡阳县| 长治市| 嘉祥县| 比如县| 兖州市| 子长县| 定州市| 岳阳市| 申扎县| 彩票| 乌什县| 天津市| 遂溪县| 莒南县| 怀仁县| 江孜县| 江门市| 合作市| 玉屏| 额济纳旗| 珠海市| 大邑县| 广西| 邻水| 金阳县| 那曲县| 大悟县| 全椒县| 芜湖市| 高阳县| 商城县| 澜沧| 嵊州市| 扶沟县| 资阳市| 天峨县| 青川县|