Computer Science, asked by lipikamitra8354, 1 year ago

To change the access mode of myfile to rwxr-r- which command is used

Answers

Answered by sohamsubham200pd5ex6
0

To change the access mode, we use chmod(filename,mode).

To change mode of myfile to 'rw-rw-r–' (ie. read, write permission for user - read,write permission for group - only read permission for others) we give the args as:

chmod(myfile,0664) .

Each operation is represented by discrete values

'r' is 4

'w' is 2

'x' is 1

I hope that it will help you.

Similar questions
Math, 7 months ago