欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

淺談linux rwxrwxrwt文件夾屬性

 更新時間:2016年12月16日 10:05:03   投稿:jingxian  
下面小編就為大家?guī)硪黄獪\談linux rwxrwxrwt文件夾屬性。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧

/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)文章

最新評論