1
00:00:00,730 --> 00:00:01,810
Hello, my name is Typhoon.

2
00:00:01,810 --> 00:00:03,880
Welcome to another lecture of our course.

3
00:00:03,880 --> 00:00:07,810
In this lecture you will learn about the permission attribute examples.

4
00:00:07,810 --> 00:00:13,320
So let's get started with the regular file that is readable, writable and executable by the file's

5
00:00:13,330 --> 00:00:16,630
owner and no one else has any access.

6
00:00:16,630 --> 00:00:21,820
So in this case, the as you remember, the file starts with this attribute.

7
00:00:21,820 --> 00:00:29,170
And after that we will w r, w, x, and then here with three, three and three, three, three.

8
00:00:30,730 --> 00:00:31,000
Here.

9
00:00:31,000 --> 00:00:31,660
That's it.

10
00:00:31,700 --> 00:00:37,540
This with files that has this permission is a regular file.

11
00:00:38,260 --> 00:00:45,790
Is readable, writable and executable by the file's owner, only the file's owner and no one else.

12
00:00:45,790 --> 00:00:49,480
No group, no everyone has any access.

13
00:00:49,480 --> 00:00:50,830
So here.

14
00:00:53,220 --> 00:00:53,640
Actually.

15
00:00:53,640 --> 00:00:53,910
Yeah.

16
00:00:54,450 --> 00:00:54,870
Here.

17
00:00:54,870 --> 00:00:56,820
So now let's create another here.

18
00:00:56,820 --> 00:01:01,230
So this is a regular file as this implies.

19
00:01:01,260 --> 00:01:05,070
After that, our W here.

20
00:01:08,170 --> 00:01:08,830
That's it.

21
00:01:08,830 --> 00:01:11,140
So guess what it is.

22
00:01:11,170 --> 00:01:19,990
So this is the regular file that is readable and writable by the file's owner, but no one else has

23
00:01:19,990 --> 00:01:20,950
any access.

24
00:01:20,950 --> 00:01:26,560
So in previous we also had this executable executable which we can execute, but in this case we cannot

25
00:01:26,560 --> 00:01:26,920
execute.

26
00:01:26,920 --> 00:01:31,210
But we can only read and write onto this file.

27
00:01:31,210 --> 00:01:33,010
So let's create another example here.

28
00:01:33,010 --> 00:01:35,230
So this is also a regular file.

29
00:01:36,130 --> 00:01:45,220
RW With read and file by the owner and read by the group and also read by the everyone else.

30
00:01:45,550 --> 00:01:49,120
So this is a regular file that is.

31
00:01:49,770 --> 00:01:53,130
Readable and writable by the file's owner.

32
00:01:53,160 --> 00:01:56,610
Regular file is this readable and writable by File's owner.

33
00:01:57,030 --> 00:02:01,740
Members of the file's owner may read the file.

34
00:02:02,620 --> 00:02:06,280
And the file is also world readable.

35
00:02:06,280 --> 00:02:08,200
So let's actually create another text.

36
00:02:08,230 --> 00:02:09,100
Text here.

37
00:02:09,100 --> 00:02:11,530
So this is also a regular file.

38
00:02:12,580 --> 00:02:18,610
RW rw and RW here and.

39
00:02:19,440 --> 00:02:20,250
That's it.

40
00:02:20,370 --> 00:02:26,130
So as with previous examples, this is also regular file.

41
00:02:26,730 --> 00:02:30,120
Regular file that is readable.

42
00:02:30,150 --> 00:02:31,500
Writable.

43
00:02:33,290 --> 00:02:36,290
Readable and writable by File's owner.

44
00:02:37,530 --> 00:02:40,950
And the member also the members of the file.

45
00:02:40,950 --> 00:02:45,450
So it's also the readable and writable for members of the file group only.

46
00:02:45,450 --> 00:02:49,280
And not everyone else cannot access this file.

47
00:02:49,290 --> 00:02:51,390
So let's create another example now.

48
00:02:52,230 --> 00:02:53,970
Let's create a symbolic link, Right?

49
00:02:54,000 --> 00:03:00,360
Or let's first create two directories and lastly, create symbolic link for us.

50
00:03:00,660 --> 00:03:01,320
That's it.

51
00:03:01,350 --> 00:03:01,980
Here.

52
00:03:04,960 --> 00:03:06,720
So let's create a directory.

53
00:03:06,730 --> 00:03:10,190
So d as you as you learned in previous lecture.

54
00:03:10,210 --> 00:03:13,270
D means that it's a directory.

55
00:03:13,270 --> 00:03:20,380
So that's actually rw x rw x and not everyone else.

56
00:03:20,380 --> 00:03:28,810
So this is a directory The owner and the member of the owner group may enter the directory, create,

57
00:03:28,840 --> 00:03:32,140
rename and remove files within the directory.

58
00:03:32,140 --> 00:03:37,120
But no, everyone else does not have access to it.

59
00:03:37,120 --> 00:03:39,400
So let's create another directory example here.

60
00:03:39,400 --> 00:03:47,590
So d, r or D this is a directory rw x r and after that.

61
00:03:48,840 --> 00:03:49,380
Actually.

62
00:03:49,530 --> 00:03:50,150
Yeah.

63
00:03:50,910 --> 00:03:51,850
And here.

64
00:03:51,870 --> 00:03:52,860
So that's it.

65
00:03:53,340 --> 00:04:00,960
As the name implies, the first attribute is a directory, and the owner may enter the directory, create,

66
00:04:00,990 --> 00:04:03,840
rename, and delete files within the directory.

67
00:04:03,840 --> 00:04:12,210
And members of or members of the owner group may enter the directory but cannot create, delete or rename

68
00:04:12,210 --> 00:04:12,840
files.

69
00:04:12,840 --> 00:04:15,270
So they the rename files.

70
00:04:15,270 --> 00:04:16,440
So they enter.

71
00:04:16,440 --> 00:04:24,720
But as the W here implies, they cannot create, delete or rename files and everyone else cannot.

72
00:04:24,840 --> 00:04:26,970
Does not has access to it.
