- Learning Linux Shell Scripting
- Ganesh Naik
- 103字
- 2021-06-25 22:02:46
Sticky bit
The sticky bit is a very interesting functionality. Let's say, in the administration department, there are 10 users. If one folder has been set with sticky bit, then all other users can copy files to that folder. All users can read the files, but only the owner of the respective file can edit or delete the file. Other users can only read, but not edit or modify, the files if the sticky bit is set:
$ chmod +t filename
Alternatively, you can use the following command:
$ chmod 1777
File permissions after any of the preceding two commands will be drwxrwxrwt.
推薦閱讀
- 亮劍.NET:.NET深入體驗與實戰精要
- 嵌入式系統及其開發應用
- 大數據安全與隱私保護
- Implementing Oracle API Platform Cloud Service
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- 大數據驅動的設備健康預測及維護決策優化
- Linux內核精析
- 中文版AutoCAD 2013高手速成
- 數字多媒體技術基礎
- 計算智能算法及其生產調度應用
- Photoshop CS4數碼照片處理入門、進階與提高
- 計算機辦公應用培訓教程
- Flash CS3動畫制作融會貫通
- Flash 8中文版全程自學手冊
- 單片機原理、應用與PROTEUS仿真