In this video we'll talk about advanced Linux permissions.
There's one thing that you need to know.
In many cases you will never need advanced Linux permissions.
So this is the special case permissions and
let's try to understand how it is working.
So the first permission is set user id, also known
as suit, and that has the octal value of 4.
It only has a meaning on files. And on files it means
that you run the VAL as the user owner of that file.
And I will show you that's actually a pretty dangerous permission.
Then we have set groupid, also known as sgid, which is the octal value of 2, and on files that
means that you are going to run the VAL as the group owner of that val. That's pretty uncommon.
But on directories it sets ownership on newly created items as the group owner of that directory.
I'll show you why that makes sense.
Then we have sticky bit and sticky bit has the octal value of 1.
And on directories it allows a user to delete files if the user is
file owner or the user is directory owner. In the next video I'll demonstrate.