当前位置:网站首页>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
边栏推荐
- Average lookup length when hash table lookup fails
- Experimental design - using stack to realize calculator
- View and modify the MySQL data storage directory under centos7
- ZABBIX agent2 monitors mongodb nodes, clusters and templates (official blog)
- Docker configures redis and redis clusters
- Distributed solution - distributed session consistency problem
- Storage Basics
- SAP 自开发记录用户登录日志等信息
- 10 minute fitness method reading notes (2/5)
- [superhard core] is the core technology of redis
猜你喜欢

Anaconda creates a virtual environment and installs pytorch

Storage Basics

Detailed structure and code of inception V3

Yum only downloads the RPM package of the software to the specified directory without installing it

JDBC -- use JDBC connection to operate MySQL database

Transactions on December 23, 2021

SAP 自开发记录用户登录日志等信息

Pytorch two-layer loop to realize the segmentation of large pictures

太方便了,钉钉上就可完成代码发布审批啦!

OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
随机推荐
ZABBIX 5.0 - LNMP environment compilation and installation
石臻臻的2021总结和2022展望 | 文末彩蛋
jxl笔记
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
Docker configures redis and redis clusters
Pytoch implements tf Functions of the gather() function
Simply take stock reading notes (3/8)
Kotlin函数
NPM install reports an error
Redis clean cache
Distributed cache architecture - cache avalanche & penetration & hit rate
Interviewer: is acid fully guaranteed for redis transactions?
Transactions from December 29, 2021 to January 4, 2022
Using MySQL in docker
非技术部门,如何参与 DevOps?
Simply take stock reading notes (2/8)
[figure neural network] GNN from entry to mastery
【云原生】Nacos-TaskManager 任务管理的使用
Iterator details in list... Interview pits
Using docker for MySQL 8.0 master-slave configuration