How do I change permissions?

How do I change permissions?
Answer
The chmod command enables you to change the permissions on a file. You must be superuser or the owner of a file or directory to change its permissions.
…
Changing File Permissions.

Octal Value

File Permissions Set

Permissions Description

2

-w-

Write permission only

3

-wx

Write and execute permissions

4

r–

Read permission only
 

Tìm kiếm

Back
Top