no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:services:server_services:webhosting:file_permissions [2016/07/12 14:52] (current) – created rlossin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== File Permissions ====== | ||
+ | ===== Introduction ===== | ||
+ | This article informs about file- and folder-permissions on Linux-based servers, which are used in the GWDG webhosting-environments. | ||
+ | File permissions are used to unambiguously declare, which users or groups are allowed to access the file or folder, edit or execute it. File permissions are an important part of the system' | ||
+ | |||
+ | ===== Concept ===== | ||
+ | |||
+ | There are three possible values, which can be assigned to a file: | ||
+ | |||
+ | * Read ('' | ||
+ | * Write ('' | ||
+ | * Execute ('' | ||
+ | |||
+ | Additionally each file or folder is attached to an user and an usergroup. | ||
+ | |||
+ | The permissions for the single user are a result of the following pattern: | ||
+ | |||
+ | * Owner | ||
+ | * Group | ||
+ | * Others | ||
+ | |||
+ | The file permission '' | ||
+ | |||
+ | * First Block (Owner): '' | ||
+ | * Second Block (Group): '' | ||
+ | * Third Block (Others): '' | ||
+ | |||
+ | A normal file contains a leading '' | ||
+ | |||
+ | Detailed example: | ||
+ | < | ||
+ | -rw-r--r-- | ||
+ | </ | ||
+ | |||
+ | '' | ||
+ | |||
+ | ===== Octal notation ===== | ||
+ | Using the ocal notation allows the user to shorten the permissions to octals. | ||
+ | |||
+ | To get the permissions, | ||
+ | |||
+ | * Read: '' | ||
+ | * Write: '' | ||
+ | * Execute: '' | ||
+ | |||
+ | |||
+ | The permission '' | ||
+ | |||
+ | * First Block (Owner): '' | ||
+ | * Second Block (Group): '' | ||
+ | * Third Block (Others): '' |