当前位置:网站首页>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
边栏推荐
- Programming skills for optimizing program performance
- Introduction to GNN
- 2021-12-21 transaction record
- ZABBIX customized monitoring disk IO performance
- Reshape the power of multi cloud products with VMware innovation
- Anaconda creates a virtual environment and installs pytorch
- Solution to order timeout unpaid
- Keras implements verification code identification
- insmod 提示 Invalid module format
- Language model
猜你喜欢

I met Tencent in the morning and took out 38K, which showed me the basic smallpox

Kotlin变量

Iterator details in list... Interview pits

谈谈我写作生涯的画图技巧

《信息系统项目管理师》备考笔记---信息化知识

Principle of universal gbase high availability synchronization tool in Nanjing University

stm32和电机开发(从架构图到文档编写)

Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue

超高效!Swagger-Yapi的秘密

Transactions from December 27 to 28, 2021
随机推荐
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
Redis clean cache
GPON technical standard analysis I
Leetcode-1. Sum of two numbers (Application of hash table)
Taobao short videos are automatically released in batches without manual RPA open source
Super efficient! The secret of swagger Yapi
Simply take stock reading notes (2/8)
Sqoop import and export operation
Wechat enterprise payment to change access, open quickly
Comprehensive upgrade of Taobao short video photosynthetic platform
C language structure is initialized as a function parameter
Third party payment interface design
【云原生】Nacos-TaskManager 任务管理的使用
Pytoch uses torchnet Classerrormeter in meter
#yyds干货盘点#js截取文件后缀名
Distributed solution - distributed session consistency problem
ZABBIX 5.0 - LNMP environment compilation and installation
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
Knowledge representation (KR)
NLP engineer learning summary and index