Home > OS >  What users have permission to modify file permissions?
What users have permission to modify file permissions?

Time:10-06

What for greatly, how to determine the user can modify the file permissions?

CodePudding user response:

Permissions are w
File:
R: - read read permission, can browse the file content cat more less head tail...
W: - write write permissions, can modify the file content vim gedit & gt;>
X: - the execute permissions, the program can run, commands and scripts must be executable permissions, otherwise you won't run,
- : no such permission

Directory:
R: check directory content ls
W: can create within the directory, delete files and directories touch mkdir mv rm...
X: CD can enter the directory

CodePudding user response:

First of all, this file should belong to the current user group (except the root)
Next this file should have write permissions - rw - r - r - the third sign is w
  • Related