| 1. |
You Are Told That The Permissions Of A File Are 645. Quick, How Do You Calculate What It Means? |
|
Answer» The permissions value are always 4 for read, 2 for WRITE, 1 for execute. The three numbers are always for OWNER, GROUP, and everybody on the system. Therefore 645 MEANS: owner - read and write, group - read only, everybody - read and execute. You'll rarely see such a permission set, but for interview question it might just work. The permissions value are always 4 for read, 2 for write, 1 for execute. The three numbers are always for owner, group, and everybody on the system. Therefore 645 means: owner - read and write, group - read only, everybody - read and execute. You'll rarely see such a permission set, but for interview question it might just work. |
|