# Permissions screwed...lost my su

**URL:** <https://community.umbrel.com/t/permissions-screwed-lost-my-su/18462>\
**Category:** Support and Troubleshooting\
**Created:** [July 21, 2024, 6:34pm UTC](https://community.umbrel.com/t/permissions-screwed-lost-my-su/18462 "2024-07-21T18:34:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avsilva](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@avsilva](https://community.umbrel.com/u/avsilva)\
**Post date:** [July 21, 2024, 6:34pm UTC](https://community.umbrel.com/t/permissions-screwed-lost-my-su/18462/1 "2024-07-21T18:34:04Z")

</div>

Hi…I was setting permissions for some folders while trying to make my Jellyfin work…don´t even remember which folders I used chmod on, but I guess it was data…anyways, didn´t work, I deleted Jelyfinn, and now my Umbrel starts ok, but I cannot access any app anymore… went to the terminal to try to set permissions all back to 777 (it´s my home network, I’m the only user) but I get this…  
umbrel@umbrel:~$ sudo su  
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

All other chmods I try I get an “operation not permitted” error…

How can I solve this? This is a bare metal install…Umbrel 1.2.1

Thanks!

---

<div class="post-metadata">

**Author:** ![chiptuner](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/chiptuner/32/6101_2.png) [@chiptuner](https://community.umbrel.com/u/chiptuner)\
**Post date:** [July 22, 2024, 8:45pm UTC](https://community.umbrel.com/t/permissions-screwed-lost-my-su/18462/2 "2024-07-22T20:45:36Z")

</div>

👋 What device are you using? I’ll do some homework on this, but I don’t think there will be a safe way to recover if you don’t know what directories you may have changes permissions on or not… Evidently your `/usr/bin` directory was modified if I’m reading that correctly? So unfortunately that’s not a great start.

Could you share the output of ls `-lah /usr/bin`? I just want to get an idea of a directory you may know has been modified. Otherwise share a high-level directory like the `umbrel/app-data/` directory.

Absolute worst-case we can talk about migrating or backing up your apps and data safely if it comes down to it.
