当前位置:网站首页>RHCAS6
RHCAS6
2022-07-05 12:50:00 【Grey rain】
Manage file basic permissions
File permissions
r read
w Write
x perform
The directory permissions
r read
w create a file , Delete file
x perform (cd)
first rwx Indicates the authority of the owner (user)
the second rwx Indicates the permissions of the group to which it belongs (group)
Third rwx Indicates the permissions of others (other)
chmod Modify the permissions
chmod u/g/o/a+/-=rwx filie/dir
You can add or subtract permissions of different owners at the same time
Three digits indicate authority
rwx 111=7
·— 000=0
example :chmod 777 aaa
chown Modify the person or group of the file
chown user file/dir
chown user:group file/dir
chown :group file
chgrp group file
Manage default permissions and special permissions
suid 4
sgid 1
Default permissions
root And the default permissions for ordinary users to create files
umask
root Of umask yes 0022
umask 022 Modify the authority to 022
边栏推荐
- 2021.12.16-2021.12.20 empty four hand transaction records
- JDBC -- use JDBC connection to operate MySQL database
- Free testing of Taobao tmall API order and flag insertion remark interface
- Time conversion error
- Redis clean cache
- insmod 提示 Invalid module format
- Transactions from January 6 to October 2022
- HiEngine:可媲美本地的云原生内存数据库引擎
- 激动人心!2022开放原子全球开源峰会报名火热开启!
- Transactions on December 23, 2021
猜你喜欢
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
Detailed steps for upgrading window mysql5.5 to 5.7.36
谈谈我写作生涯的画图技巧
Transactions from January 14 to 19, 2022
How to connect the API interface of Taobao open platform (super detailed)
Kotlin variable
Knowledge representation (KR)
VoneDAO破解组织发展效能难题
CVPR 2022 | single step 3D target recognizer based on sparse transformer
Add a new cloud disk to Huawei virtual machine
随机推荐
ZABBIX customized monitoring disk IO performance
Time conversion error
JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
Iterator details in list... Interview pits
Rasa Chat Robot Tutorial (translation) (1)
滴滴开源DELTA:AI开发者可轻松训练自然语言模型
insmod 提示 Invalid module format
超高效!Swagger-Yapi的秘密
Volatile instruction rearrangement and why instruction rearrangement is prohibited
Resnet+attention project complete code learning
Comprehensive upgrade of Taobao short video photosynthetic platform
Pytoch through datasets Imagefolder loads datasets directly from files
以VMware创新之道,重塑多云产品力
CVPR 2022 | single step 3D target recognizer based on sparse transformer
Knowledge representation (KR)
研究:数据安全工具在 60% 的情况下无法抵御勒索软件
Common commands and basic operations of Apache Phoenix
ActiveMQ installation and deployment simple configuration (personal test)
Kotlin variable
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花