1
00:00:00,640 --> 00:00:06,810
So I have started my parrot operating system and I have successfully opened up a terminal as well,

2
00:00:06,820 --> 00:00:08,200
as you can see over here.

3
00:00:08,230 --> 00:00:15,940
Now over here, I'm going to simply type LS and you can see there are a lot of files and folders made

4
00:00:15,940 --> 00:00:17,710
into this drive.

5
00:00:17,740 --> 00:00:19,840
Now let's see, what is this actually?

6
00:00:19,840 --> 00:00:24,070
So let me clear the screen for you and let me simply type PWT.

7
00:00:24,070 --> 00:00:31,390
So pWt tells us the present working directory and you can see over here that slash root is the present

8
00:00:31,390 --> 00:00:38,440
working directory on all the files and folders that have been created are inside the root user's home

9
00:00:38,440 --> 00:00:40,600
directory, which is slash root.

10
00:00:41,200 --> 00:00:43,210
So I hope you guys understood this.

11
00:00:43,240 --> 00:00:49,960
If I make this as a tree command, you can see there are in total 627 directories in my computer and

12
00:00:49,960 --> 00:00:55,810
3274 files that have been created by the root user in his root directory.

13
00:00:55,900 --> 00:01:03,400
Now, one thing that you should understand is that other users in this operating system cannot make

14
00:01:03,400 --> 00:01:05,260
files in the root directory.

15
00:01:05,260 --> 00:01:11,410
For example, let me switch the user to Udemy so you can see it says the user does not exist, no problem.

16
00:01:11,410 --> 00:01:13,870
So let's quickly create a user or less.

17
00:01:13,900 --> 00:01:18,400
Jeremy That is also create a password for that user.

18
00:01:19,560 --> 00:01:24,060
Now let me switch the user quickly and you can see the files are here.

19
00:01:24,060 --> 00:01:28,170
So let me see if the user can create a file over here.

20
00:01:28,170 --> 00:01:37,740
So let's say we call the file as YouTube file or txt and this is a file and you can see it says permission

21
00:01:37,740 --> 00:01:45,390
denied, which basically means that any other user cannot create files in the root user's home directory

22
00:01:45,570 --> 00:01:49,290
until and unless they have been given specific set of permissions.

23
00:01:49,290 --> 00:01:55,410
So by default they cannot make files or this directory is not writable.

24
00:01:55,440 --> 00:01:59,850
Yes, they can read it and yeah, they have the right permissions over here.

25
00:02:00,120 --> 00:02:08,130
So I hope you guys understood what is a root directory and how users cannot create files into this home

26
00:02:08,130 --> 00:02:10,650
directory apart from the root user.

27
00:02:10,800 --> 00:02:11,460
Thank you.
