Unwise to modify the permissions of the dietpi home dir?

I recently created a new user on one of my pi’s to give a dev some limited access (no sudo for now, want to jail the user to their home dir eventually) and noticed that they can enter the dietpi user’s home directory. Meanwhile, dietpi cannot access the dev users home directory.

Related: In regard to jailing a user with chroot, I haven’t done that in quite some time. Can I jail a SSH to their home directory when using dropbear? I’ve only done this on systems running OpenSSH…I’d really rather not remove dropbear to install OpenSSH on a half a dozen devices because I’m lazy.

Hmm on my fresh test install the /home/dietpi has 700 permissions:

root@TestPi3B:~# ls -la /home/dietpi/
drwx------ 2 dietpi dietpi 4096 16. Nov 06:34 .

So not sure why this is not the case on your system. Maybe depends on the software you’ve installed.

Dropbear does not support chroot, but you can just switch to openSSH with dietpi-software if you want.
You need just execute dietpi-software install 105, Dropbear will then be removed automatically.