Viewing and modifying Linux file permissions

Procedural apes are fearless 2022-02-13 05:15:30 阅读数:46

viewing modifying linux file permissions

Linux File permissions view

ls -l perhaps ll

Permission to directly view files or folders ,r On behalf of read permission ,w Executive authority ,x On behalf of executive authority

Permissions are divided into 3 Group ,3 In groups , They are the owners , Subordinate to the group , others

The first represents the file type ,- The representative is a common document ,d Represents a folder
 Insert picture description here

linux Assign folder permissions to the specified user

1. Change directory owner command : chown -R User name Directory name

2. Change directory permissions command : chmod -R 755 Directory name

3. View folder permissions ll

copyright:author[Procedural apes are fearless],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130515284046.html