What are file permissions in Unix, and how are they represented?

Answers were Sorted based on User's Feedback



What are file permissions in Unix, and how are they represented?..

Answer / hr@tgksolutions.com

File permissions in Unix control the access levels for files and directories. They determine who can read, write, or execute a file. Permissions are represented in a triplet format for the owner, group, and others (e.g., rwxr-xr--).
• r: Read permission.
• w: Write permission.
• x: Execute permission.
Permissions can also be represented numerically using a three-digit code, where each digit ranges from 0 to 7 (e.g., 755). The digits represent the sum of the permission values (4 for read, 2 for write, 1 for execute).

Is This Answer Correct ?    0 Yes 0 No

What are file permissions in Unix, and how are they represented?..

Answer / nashiinformaticssolutions

File permissions in Unix control the access levels for files and directories. They determine who can read, write, or execute a file. Permissions are represented in a triplet format for the owner, group, and others (e.g., rwxr-xr--).
• r: Read permission.
• w: Write permission.
• x: Execute permission.
Permissions can also be represented numerically using a three-digit code, where each digit ranges from 0 to 7 (e.g., 755). The digits represent the sum of the permission values (4 for read, 2 for write, 1 for execute).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

the difference between a soft link and a hard link?

6 Answers  


What do chmod command do?

0 Answers  


What is unix command?

0 Answers  


Give the command to display space usage on the UNIX file system.

16 Answers  


How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks

6 Answers   Polaris, Tech Mahindra,


What is nr in awk command?

0 Answers  


What is the difference between grep and grep?

0 Answers  


How to identify whether a file is normal file or directory?

3 Answers  


What is merge command in unix?

0 Answers  


What is the use of pipes?

4 Answers  


what is the command to print last 8 lines of any text file.

10 Answers  


How do you change file permissions?

1 Answers  


Categories