WEBVTT

00:09.550 --> 00:13.760
Friends you know Brewis listen we learn about Fulke permissions.

00:14.420 --> 00:20.750
In this list and we're going to talk about managing the file and group on that file and group ownership

00:20.750 --> 00:21.340
management.

00:21.350 --> 00:25.880
We can change the owner of the file or the group.

00:25.920 --> 00:35.060
Ok fine so let's see practically how to do this OK tinge the user or the owner OK.

00:35.310 --> 00:42.670
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.

00:42.780 --> 00:43.420
OK.

00:43.620 --> 00:50.050
So to use this command you need to have a pseudo access or you need to be a root user.

00:50.370 --> 00:50.730
OK.

00:50.730 --> 00:53.730
So just type a..

00:54.160 --> 00:54.560
OK.

00:54.570 --> 00:58.310
Here is our previous file that is student or XTi.

00:58.590 --> 01:04.350
And here you can see the first patient is the owner of the file.

01:04.440 --> 01:06.300
Ok the name of the owner is present.

01:06.330 --> 01:09.490
And the next patient is the group.

01:09.550 --> 01:10.680
This file belongs.

01:10.710 --> 01:11.270
OK.

01:11.520 --> 01:22.160
So first see hope change the owner of the file to the owner need to be slow sillier on.

01:22.510 --> 01:26.340
And then here you need to insert the new user.

01:26.450 --> 01:29.110
So I want to change it to Bob.

01:29.380 --> 01:33.760
And then the white student leaves.

01:34.450 --> 01:39.310
OK provide the Sudol possible no less.

01:39.610 --> 01:44.490
And here you can see the users change or the owner change to Bob.

01:44.580 --> 01:44.910
OK.

01:44.930 --> 01:50.930
Now Bob is the owner of this fine and booted the group.

01:51.010 --> 01:54.750
What do you need to do is just pro-white here.

01:54.790 --> 01:57.960
OK first let's see that groups are available.

01:58.200 --> 02:05.950
So groups of these are the groups here which are available sort of all I want to change it to the group

02:05.950 --> 02:10.810
CD-ROM then sudo CDH on.

02:10.990 --> 02:18.310
And you need to provide the dog operator when you want which is the group and the group name CD-ROM

02:18.490 --> 02:23.560
and finally a student got the Alice.

02:23.770 --> 02:31.750
And here you can see the group name is changed to CD-ROM in this way you can change the owner and the

02:31.750 --> 02:36.650
group of a file and you can also change both at once.

02:36.700 --> 02:46.750
I want to change it back to prison on that pressure and push on then you need to provide the syntax

02:46.750 --> 02:56.860
for the command like this with this dot operator and he can to let's hear it and see the owner and the

02:56.860 --> 02:58.630
group is back.

02:58.630 --> 03:03.270
So in this way you can change the group and owner of the file.

03:03.310 --> 03:07.430
There is also a c'mon class C D R B.

03:07.740 --> 03:09.370
Give this command.

03:09.370 --> 03:10.840
You can change the group.

03:10.870 --> 03:11.640
OK.

03:12.640 --> 03:16.760
So sudo here you need to provide a new group name.

03:16.900 --> 03:21.730
I want to change it but to see the role and define student.

03:22.320 --> 03:27.720
So the student not DST less.

03:28.090 --> 03:32.550
And here you can see the group name is changed back to CD-ROM.

03:32.750 --> 03:33.280
OK.

03:33.640 --> 03:40.050
In this way you can manage the groups and the file ownership with the help of these commands.
