- what is Linux ?
- Advantages of using Linux
- Disadvantages of using Linux
- Is linux for me?
- Who uses Linux and where
- what is virtualbox
- install virtualbox in Windows
- install virtualbox in MacOS
- install ubuntu in virtualbox
- install ubuntu on a computer
File permissions
File permission defines who can read and/or write to the file, and is the file executable or not.
To see a file permissions you can open the terminal and run the command (replace filename with the name of your file or directory)
ls -ld filename |
result:
The string “drwxr-xr-x” is the file permission, let’s see what each letter represent
The next three characters represent the permissions for the owner of the directory:
The next three characters represent the permissions for the group that the directory belongs to:
The last three characters represent the permissions for other users (neither the owner nor part of the group):
So to read a file permission: