国产探花免费观看_亚洲丰满少妇自慰呻吟_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武林網。

 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乐都县| 鄂州市| 邛崃市| 濮阳市| 聊城市| 长春市| 凤翔县| 钦州市| 平凉市| 通辽市| 循化| 富顺县| 玉树县| 许昌县| 五大连池市| 德化县| 姜堰市| 金塔县| 磐安县| 塔城市| 尤溪县| 八宿县| 黄骅市| 四川省| 绿春县| 平定县| 慈溪市| 林口县| 辉南县| 佛冈县| 铜梁县| 安阳县| 洞头县| 辽阳县| 宜章县| 东平县| 筠连县| 桃园市| 当涂县| 新民市| 平凉市|