# Unwise to modify the permissions of the dietpi home dir?

**URL:** https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756
**Category:** General Discussion
**Created:** [8 December 2025 21:29 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756 "2025-12-08T21:29:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)
#### Post date: [8 December 2025 21:29 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756/1 "2025-12-08T21:29:49Z")

</div>

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 user 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.

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [8 December 2025 22:01 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756/2 "2025-12-08T22:01:05Z")

</div>

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

```auto
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` to install OpeneSSH. Dropbear will then be removed automatically.

---

<div class="post-metadata">

### Author: ![rmscode](https://dietpi.com/forum/user_avatar/dietpi.com/rmscode/32/5164_2.png) [@rmscode](https://dietpi.com/forum/u/rmscode)
#### Post date: [9 December 2025 18:46 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756/3 "2025-12-09T18:46:42Z")

</div>

Ah, right. I did actually do this once (`dietpi-software install 105`). It was quite painless.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 December 2025 19:04 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756/4 "2025-12-09T19:04:27Z")

</div>

> [@rmscode](#):
>
> It was quite painless.

that’s how it is in practice

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [7 June 2026 19:04 UTC](https://dietpi.com/forum/t/unwise-to-modify-the-permissions-of-the-dietpi-home-dir/24756/5 "2026-06-07T19:04:38Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
