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
21 hours 28 min ago
1 day 3 hours ago
2 days 23 hours ago
4 days 19 hours ago
5 days 22 hours ago
6 days 9 hours ago
1 week 42 min ago
1 week 10 hours ago
1 week 15 hours ago
1 week 21 hours ago