I, as a normal user (not root), am trying to create a file in a directory as below:
However I get an error: permission denied.
I know that I should
chmod for the directory but I don't know what a proper permission is because I don't want to make it 777.
Also, I should
chmod for each directory like this:
sudo chmod ??? a cd a sudo chmod ??? b cd b sudo chmod ??? c ...
Or I should simply do:
sudo chmod ??? a/b/c/d
If I need read and write
test.log after creating, what should I use to replace