Now, the problem is regarding the permissions, so we have to change the permissions of /home/nanu directory
to 711 so that other can enter into the directory.
So because we are in /home/nanu/public_html directory.
So we are saying cd ../.. that mean
It will take us into the /home directory with pwd Command.
We can verify where we are in home directory then with ls -ld .
nanu.
We can get the permissions by default.
The permissions are 700 mean because r is equal to 4.
W is equal to 2 and x is equal to one.
So the permissions are 700 that mean others are not allowed to enter into that directory into this /home/nanu directory.
So what we will do, we will change the permissions, chmod 711 when we are going to give this permission.
the group and others will get the execute permission.
Execute permission means that other people can enter into the directory and we can verify with ls -ld
command what are the permission.
That means that the permission of according to our requirement or not, with pwd we can verify
where we are, with cd command we will return back to our home directory.
And again, when we are going to run pwd, it is showing us that we are in /home/nanu directory
So let us change the permissions of home directory.