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

首頁 > 系統 > Linux > 正文

淺談linux rwxrwxrwt文件夾屬性

2019-11-02 16:41:19
字體:
來源:轉載
供稿:網友

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 大埔区| 福清市| 邻水| 星子县| 中宁县| 图片| 林芝县| 来安县| 安顺市| 大埔区| 钟山县| 汝阳县| 土默特右旗| 高台县| 高密市| 临江市| 锡林浩特市| 明水县| 鹿泉市| 伊川县| 通山县| 调兵山市| 桐梓县| 盐亭县| 磴口县| 河北区| 遵化市| 邯郸县| 绥江县| 萨嘎县| 仙桃市| 托克逊县| 嵩明县| 武平县| 苗栗市| 兴义市| 顺平县| 潼关县| 铜山县| 万全县| 东阿县|