I know the topic of SSH and user’s permissions was discussed many times, but I haven’t found reason / solution for this:
I create new server with one user - this user has SSH access by default, into his home directory /home/user
If I login via SSH like this user, I can access folders like /etc /var and others - this is known “issue”
But what I didn’t figured out, why this user can write into /etc /var and others?
The problem is, that this user can use e.g. folder /tmp like the storage no matter the limitations of his account. Or he can just mess my system everywhere
A user bring able to write to /tmp is normal – that’s what /tmp is there for.
A user can read some things in /etc and /var by default, but shouldn’t be able to write to it. Are you sure the user is actually able to write, and not just read?