Practising python
Learning python basic programming
Linux_file_permission_values.py
This program can be used to calculate the permission values for linux based systems.
-rwxr--r-- this shows the permissions of a particular file
Here,
- [rwx] -> User
- [r--] -> Group
- [r--] -> Other
r (value=4) => Read
w (value=2) => write
x (value=1) => Execute
and [-] has value = 0