Berkeley Software Distribution (BSD) Question: Download Questions PDF
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.
Download BSD Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain the difference between SIGHUP, SIGUSR1 and SIGUSR2? | How did you find initial support for a new distro? |