当前位置:网站首页>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
边栏推荐
- stm32和电机开发(从架构图到文档编写)
- Pytoch counts the number of the same elements in the tensor
- Master-slave mode of redis cluster
- Distributed cache architecture - cache avalanche & penetration & hit rate
- UNIX socket advanced learning diary -ipv4-ipv6 interoperability
- Rasa Chat Robot Tutorial (translation) (1)
- Transactions from December 29, 2021 to January 4, 2022
- 2021.12.16-2021.12.20 empty four hand transaction records
- Clear neo4j database data
- Pytoch through datasets Imagefolder loads datasets directly from files
猜你喜欢

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

Kotlin变量

Annotation problem and hidden Markov model

JDBC exercise - query data encapsulated into object return & simple login demo

Storage Basics

ZABBIX customized monitoring disk IO performance

Ecplise development environment configuration and simple web project construction

Detailed structure and code of inception V3
![[figure neural network] GNN from entry to mastery](/img/e2/bb045fb03bc255b8659f9ca7cdd26b.jpg)
[figure neural network] GNN from entry to mastery

Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
随机推荐
Pytoch loads the initialization V3 pre training model and reports an error
Flume common commands and basic operations
2021-12-21 transaction record
Add a new cloud disk to Huawei virtual machine
stirring! 2022 open atom global open source summit registration is hot!
Get the variable address of structure member in C language
A possible investment strategy and a possible fuzzy fast stock valuation method
Array cyclic shift problem
【云原生】Nacos中的事件发布与订阅--观察者模式
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Knowledge representation (KR)
谈谈我写作生涯的画图技巧
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
Distributed solution - completely solve website cross domain requests
Pytoch implements tf Functions of the gather() function
Kotlin variable
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
Super efficient! The secret of swagger Yapi
Kotlin函数
Compilation principle reading notes (1/12)