Linux File Permissions
Linux File PermissionsThere are three type of users are available in Linux: User: The username of the person who owns the file. By default, the user who creates the file will become its owner. Group: The usergroup that owns the file. All users who belong into the group that owns the file will have the same access permissions to the file. This is useful if, for example, you have a project that requires a bunch of different users to be able to access certain files, while others can't. In that case, you'll add all the users into the same group, make sure the required files are owned by that group, and set the file's group permissions accordingly. Other: A user who isn't the owner of the file and doesn't belong in the same group the file does. In other words, if you set a permission for the "other" category, it will affect everyone else by default. For this reason, people often talk about setting the "world" permission bit when they mean setting the permissions for "other".
Three Types of Permissions:
How to View the Permissionsls -l <filename> For example: me@mytux: /home/writers$ ls -l Notations: d = directory
| ||||||||||||||||||||






Recent comments
19 hours 43 min ago
20 hours 40 min ago
20 hours 52 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 14 hours ago