What permissions will the following command give chmod 777?

What permissions will the following command give chmod 777?
Answer
Setting Permissions

Command

(equivalent command using number system)

Permissions

chmod a=rwx myfile.txt

chmod 777 myfile.txt

rwxrwxrwx

chmod o= myfile.txt

chmod 770 myfile.txt

-rwxrwx—

chmod g=w myfile.txt

chmod 720 myfile.txt

-rwx-w—-

chmod go=r myfile.txt

chmod 744 myfile.txt

-rwxr–r–
 

Tìm kiếm

Back
Top