Friends you know Brewis listen we learn about Fulke permissions.
In this list and we're going to talk about managing the file and group on that file and group ownership
management.
We can change the owner of the file or the group.
Ok fine so let's see practically how to do this OK tinge the user or the owner OK.
And the group of the file there is a command in terms of the call that has S.H. on or so called as John.
OK.
So to use this command you need to have a pseudo access or you need to be a root user.
OK.
So just type a..
OK.
Here is our previous file that is student or XTi.
And here you can see the first patient is the owner of the file.
Ok the name of the owner is present.
And the next patient is the group.
This file belongs.
OK.
So first see hope change the owner of the file to the owner need to be slow sillier on.
And then here you need to insert the new user.
So I want to change it to Bob.
And then the white student leaves.
OK provide the Sudol possible no less.
And here you can see the users change or the owner change to Bob.
OK.
Now Bob is the owner of this fine and booted the group.
What do you need to do is just pro-white here.
OK first let's see that groups are available.
So groups of these are the groups here which are available sort of all I want to change it to the group
CD-ROM then sudo CDH on.
And you need to provide the dog operator when you want which is the group and the group name CD-ROM
and finally a student got the Alice.
And here you can see the group name is changed to CD-ROM in this way you can change the owner and the
group of a file and you can also change both at once.
I want to change it back to prison on that pressure and push on then you need to provide the syntax
for the command like this with this dot operator and he can to let's hear it and see the owner and the
group is back.
So in this way you can change the group and owner of the file.
There is also a c'mon class C D R B.
Give this command.
You can change the group.
OK.
So sudo here you need to provide a new group name.
I want to change it but to see the role and define student.
So the student not DST less.
And here you can see the group name is changed back to CD-ROM.
OK.
In this way you can manage the groups and the file ownership with the help of these commands.