WEBVTT

00:00.730 --> 00:01.810
Hello, my name is Typhoon.

00:01.810 --> 00:03.880
Welcome to another lecture of our course.

00:03.880 --> 00:07.810
In this lecture you will learn about the permission attribute examples.

00:07.810 --> 00:13.320
So let's get started with the regular file that is readable, writable and executable by the file's

00:13.330 --> 00:16.630
owner and no one else has any access.

00:16.630 --> 00:21.820
So in this case, the as you remember, the file starts with this attribute.

00:21.820 --> 00:29.170
And after that we will w r, w, x, and then here with three, three and three, three, three.

00:30.730 --> 00:31.000
Here.

00:31.000 --> 00:31.660
That's it.

00:31.700 --> 00:37.540
This with files that has this permission is a regular file.

00:38.260 --> 00:45.790
Is readable, writable and executable by the file's owner, only the file's owner and no one else.

00:45.790 --> 00:49.480
No group, no everyone has any access.

00:49.480 --> 00:50.830
So here.

00:53.220 --> 00:53.640
Actually.

00:53.640 --> 00:53.910
Yeah.

00:54.450 --> 00:54.870
Here.

00:54.870 --> 00:56.820
So now let's create another here.

00:56.820 --> 01:01.230
So this is a regular file as this implies.

01:01.260 --> 01:05.070
After that, our W here.

01:08.170 --> 01:08.830
That's it.

01:08.830 --> 01:11.140
So guess what it is.

01:11.170 --> 01:19.990
So this is the regular file that is readable and writable by the file's owner, but no one else has

01:19.990 --> 01:20.950
any access.

01:20.950 --> 01:26.560
So in previous we also had this executable executable which we can execute, but in this case we cannot

01:26.560 --> 01:26.920
execute.

01:26.920 --> 01:31.210
But we can only read and write onto this file.

01:31.210 --> 01:33.010
So let's create another example here.

01:33.010 --> 01:35.230
So this is also a regular file.

01:36.130 --> 01:45.220
RW With read and file by the owner and read by the group and also read by the everyone else.

01:45.550 --> 01:49.120
So this is a regular file that is.

01:49.770 --> 01:53.130
Readable and writable by the file's owner.

01:53.160 --> 01:56.610
Regular file is this readable and writable by File's owner.

01:57.030 --> 02:01.740
Members of the file's owner may read the file.

02:02.620 --> 02:06.280
And the file is also world readable.

02:06.280 --> 02:08.200
So let's actually create another text.

02:08.230 --> 02:09.100
Text here.

02:09.100 --> 02:11.530
So this is also a regular file.

02:12.580 --> 02:18.610
RW rw and RW here and.

02:19.440 --> 02:20.250
That's it.

02:20.370 --> 02:26.130
So as with previous examples, this is also regular file.

02:26.730 --> 02:30.120
Regular file that is readable.

02:30.150 --> 02:31.500
Writable.

02:33.290 --> 02:36.290
Readable and writable by File's owner.

02:37.530 --> 02:40.950
And the member also the members of the file.

02:40.950 --> 02:45.450
So it's also the readable and writable for members of the file group only.

02:45.450 --> 02:49.280
And not everyone else cannot access this file.

02:49.290 --> 02:51.390
So let's create another example now.

02:52.230 --> 02:53.970
Let's create a symbolic link, Right?

02:54.000 --> 03:00.360
Or let's first create two directories and lastly, create symbolic link for us.

03:00.660 --> 03:01.320
That's it.

03:01.350 --> 03:01.980
Here.

03:04.960 --> 03:06.720
So let's create a directory.

03:06.730 --> 03:10.190
So d as you as you learned in previous lecture.

03:10.210 --> 03:13.270
D means that it's a directory.

03:13.270 --> 03:20.380
So that's actually rw x rw x and not everyone else.

03:20.380 --> 03:28.810
So this is a directory The owner and the member of the owner group may enter the directory, create,

03:28.840 --> 03:32.140
rename and remove files within the directory.

03:32.140 --> 03:37.120
But no, everyone else does not have access to it.

03:37.120 --> 03:39.400
So let's create another directory example here.

03:39.400 --> 03:47.590
So d, r or D this is a directory rw x r and after that.

03:48.840 --> 03:49.380
Actually.

03:49.530 --> 03:50.150
Yeah.

03:50.910 --> 03:51.850
And here.

03:51.870 --> 03:52.860
So that's it.

03:53.340 --> 04:00.960
As the name implies, the first attribute is a directory, and the owner may enter the directory, create,

04:00.990 --> 04:03.840
rename, and delete files within the directory.

04:03.840 --> 04:12.210
And members of or members of the owner group may enter the directory but cannot create, delete or rename

04:12.210 --> 04:12.840
files.

04:12.840 --> 04:15.270
So they the rename files.

04:15.270 --> 04:16.440
So they enter.

04:16.440 --> 04:24.720
But as the W here implies, they cannot create, delete or rename files and everyone else cannot.

04:24.840 --> 04:26.970
Does not has access to it.
