Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?

Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?
A. drw-r-xr–
B. d-wxr-x–
C. -wxr-x–x
D. -rwxrw—x
E. -rw-r-xr–

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?

  1. The first number represents the Owner permission; the second represents the Group permissions; and the last number represents the permissions for all other users. The numbers are a binary representation of the rwx string.

    r = 4
    w = 2
    x = 1

    You add the numbers to get the integer/number representing the permissions you wish to set. You will need to include the binary permissions for each of the three permission groups.

    So to set a file to permissions on file1 to read _rwxr_____, you would enter chmod 740 file1.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.