Ubuntu: User permissions inheritence



Question:

If an owner can read and write and the group can read and execute, can the owner execute the file? Do file permissions stack?


Solution:1

Let's try:

$ touch test.sh  $ chmod 650 test.sh  $ ls -lh  -rw-r-x---  1 lorenzob lorenzob    0 Sep 10 00:01 test.sh  $ ./test.sh  bash: ./test.sh: Permission denied  

It seems that he can not!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »