Explain the method of changing file access permission?



Explain the method of changing file access permission?..

Answer / Rishi Kant Pal

To change file access permissions in Unix, use the 'chmod' command. The basic syntax is: chmod [permissions] [file/directory]. The permissions can be set using octal numbers (e.g., 755 for rwxr-xr-x) or symbolic representations (+ for add, - for remove, = for set). To change ownership and group of a file or directory, use the 'chown' command (for changing user ownership) and 'chgrp' command (for changing group ownership).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

What are the pros of executing processes in the background?

1 Answers  


What is unix operating system used for?

1 Answers  


What are the advantages and disadvantages of unix operating system?

1 Answers  


How can you edit a large file without opening it in unix?

0 Answers  


Explain the different types of pathnames that are used in unix.

1 Answers  


How do you kill a job in unix?

1 Answers  


Is mac a unix?

1 Answers  


Is unix a programming language?

1 Answers  


Does windows use unix?

1 Answers  


What was unix originally written for?

1 Answers  


How can you get/set an environment variable from a program?

1 Answers  


What is process termination in unix?

1 Answers  


Categories