Ah, I didn't notice the addition of permissions, thanks!
It makes a whole lot of sense.
So if I understand correctly,
it means change owner to user (and his primary user group) for the whole
directory.
Then it's chmod (change rights) with the following pattern: chmod user/his
group/other users.
I suppose that being the owner means full admin rights?
At first I thought that chmod 700 followed by 600 was redundant. Actually I'm
still not too sure.
But that might mean that chmod 700 means I can only access the directory, but
neither open nor create files in it?
Actually I ended up using sudo with each line because it wouldn't work
otherwise (maybe because of that initial permission problem).