Читать книгу Linux Bible - Christopher Negus - Страница 131
Understanding File Permissions and Ownership
ОглавлениеAfter you've worked with Linux for a while, you are almost sure to get a Permission denied
message. Permissions associated with files and directories in Linux were designed to keep users from accessing other users' private files and to protect important system files.
The nine bits assigned to each file for permissions define the access that you and others have to your file. Permission bits for a regular file appear as -rwxrwxrwx
. Those bits are used to define who can read, write, or execute the file.