当前位置:网站首页>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
边栏推荐
- Hexadecimal conversion summary
- Kotlin variable
- JDBC exercise - query data encapsulated into object return & simple login demo
- A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
- Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
- NLP engineer learning summary and index
- Wechat enterprise payment to change access, open quickly
- Pinduoduo flag insertion remarks API
- Learning items
- Programming skills for optimizing program performance
猜你喜欢
stirring! 2022 open atom global open source summit registration is hot!
JDBC -- use JDBC connection to operate MySQL database
Annotation problem and hidden Markov model
10 minute fitness method reading notes (5/5)
Transactions on December 23, 2021
A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
非技术部门,如何参与 DevOps?
Database connection pool & jdbctemplate
《信息系统项目管理师》备考笔记---信息化知识
随机推荐
Docker configures redis and redis clusters
VoneDAO破解组织发展效能难题
Time conversion error
【云原生】Nacos-TaskManager 任务管理的使用
Array cyclic shift problem
奔跑,开路
Migrate data from Mysql to neo4j database
2021-12-21 transaction record
A possible investment strategy and a possible fuzzy fast stock valuation method
Master-slave mode of redis cluster
谈谈我写作生涯的画图技巧
以VMware创新之道,重塑多云产品力
Pinduoduo flag insertion remarks API
PIP command reports an error pip is configured with locations that requires tls/ssl problems
Understand redis persistence mechanism in one article
Super efficient! The secret of swagger Yapi
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
前几年外包干了四年,秋招感觉人生就这样了..
Using docker for MySQL 8.0 master-slave configuration