当前位置:网站首页>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
边栏推荐
- 超高效!Swagger-Yapi的秘密
- Transactions on December 23, 2021
- Kotlin function
- Programming skills for optimizing program performance
- How can labels/legends be added for all chart types in chart. js (chartjs.org)?
- #yyds干货盘点#js截取文件后缀名
- Distributed solution - completely solve website cross domain requests
- 实战模拟│JWT 登录认证
- ZABBIX customized monitoring disk IO performance
- Pinduoduo flag insertion remarks API
猜你喜欢
超高效!Swagger-Yapi的秘密
Database connection pool & jdbctemplate
谈谈我写作生涯的画图技巧
Taobao flag insertion remarks | logistics delivery interface
Vonedao solves the problem of organizational development effectiveness
Redis highly available sentinel mechanism
Principle of universal gbase high availability synchronization tool in Nanjing University
Master-slave mode of redis cluster
Redis highly available slice cluster
ZABBIX customized monitoring disk IO performance
随机推荐
Transactions from January 14 to 19, 2022
Redis master-slave configuration and sentinel mode
《信息系统项目管理师》备考笔记---信息化知识
Understand redis persistence mechanism in one article
Kotlin function
Distributed solution - distributed lock solution - redis based distributed lock implementation
Third party payment interface design
Pinduoduo flag insertion remarks API
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Neural network of PRML reading notes (1)
How to connect the API interface of Taobao open platform (super detailed)
Redis highly available sentinel mechanism
2021-12-22 transaction record
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
【Nacos云原生】阅读源码第一步,本地启动Nacos
实战模拟│JWT 登录认证
Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
Redis clean cache
由扫地增而引起的小叙