Computer Science, asked by nh1234566, 4 months ago

QUESTION 18

The permission -rwSr–r– represented in octal expression will be
a. 0777
b. 2666
c. 4744
d. 4644

Answers

Answered by dilipkumarb100
5

Answer:

file have beeen uploaded kindly check this

Explanation:

i hope it helps you

Answered by Yashraj2022sl
0

Answer:

The correct option for the question is option (c) 4744.

Explanation:

First we have to understand what is Unix File Permissions:

The basis for Unix file permissions is an octal code. A ten-character array is used to store Unix file permissions.

The file type is stored in the first character of the file permissions.

The next nine characters are split into three groups of three, each of which stands for a distinct position within the system:

What a person can do with his own files is controlled by user permissions.

Group permissions control what another user on the same system who belongs to the same user group as the file can do with it.

The use of the file by any other users on the same system is controlled by additional permissions.

The three sets of three characters stand for each role's file access rights. Each role is eligible for one of the following three permissions:

  • Read-The ability to view the file's contents is granted by permission.
  • Write-The ability to save changes to the file's contents is granted by permission.
  • Execute-The ability to execute the file is granted by permission. Programs and shell scripts can benefit from this.    

                               

Sometimes octal notation is used to express Unix file permissions. R is the same as the number 4, w is the same as the number 2, and x is the same as the number 1.

RWS is equal to 7 mathematically because 4+2+1=7. In the same way, rw- equals 6 and r-r equals 5.

The correct option for the question is option (c) 4744.

#SPJ3

Similar questions