Open Beta v7.6 | Please help testing and hardening the upcoming release

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
MichaIng
Site Admin
Posts: 3372
Joined: Sat Nov 18, 2017 6:21 pm

Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by MichaIng »

All infos can be found on GitHub: https://github.com/MichaIng/DietPi/issues/4728

Many thanks to all testers 8)!
KamikazeePL
Posts: 31
Joined: Sat Nov 21, 2020 5:57 pm

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by KamikazeePL »

There is a problem with FileBrowser user dietpi doesn't have ADMIN and SHARE permissions.
I fixed it.

Code: Select all

dietpi-services stop filebrowser 
/opt/filebrowser/filebrowser users update dietpi --perm.admin --perm.share -d /mnt/dietpi_userdata/filebrowser/filebrowser.db
User avatar
Joulinar
Posts: 6072
Joined: Sat Nov 16, 2019 12:49 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by Joulinar »

Yap we will have a look. Thx
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3372
Joined: Sat Nov 18, 2017 6:21 pm

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by MichaIng »

DietPi v7.6 has just been released. Many thanks to all testers! ❤️
User avatar
dwr
Posts: 79
Joined: Thu Feb 18, 2021 3:46 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by dwr »

Any idea on how to change the path from /mnt to /?
User avatar
Joulinar
Posts: 6072
Joined: Sat Nov 16, 2019 12:49 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by Joulinar »

you can try following

Code: Select all

cd /mnt/dietpi_userdata/filebrowser
dietpi-services stop filebrowser
/opt/filebrowser/filebrowser config set -r /
dietpi-services start filebrowser
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
dwr
Posts: 79
Joined: Thu Feb 18, 2021 3:46 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by dwr »

Joulinar wrote: Tue Sep 21, 2021 12:30 am you can try following

Code: Select all

cd /mnt/dietpi_userdata/filebrowser
dietpi-services stop filebrowser
/opt/filebrowser/filebrowser config set -r /
dietpi-services start filebrowser
That did it! As always, thank you for the help!
User avatar
dwr
Posts: 79
Joined: Thu Feb 18, 2021 3:46 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by dwr »

Joulinar wrote: Tue Sep 21, 2021 12:30 am you can try following

Code: Select all

cd /mnt/dietpi_userdata/filebrowser
dietpi-services stop filebrowser
/opt/filebrowser/filebrowser config set -r /
dietpi-services start filebrowser
So my next question would be how to set permissions for the 'dietpi' user to access /root?
User avatar
trendy
Posts: 375
Joined: Tue Feb 25, 2020 2:54 pm

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by trendy »

dwr wrote: Tue Sep 21, 2021 2:29 am So my next question would be how to set permissions for the 'dietpi' user to access /root?
This is a bad idea. Leave /root as it is. If you need to store something as dietpi user, use /home/dietpi
User avatar
Joulinar
Posts: 6072
Joined: Sat Nov 16, 2019 12:49 am

Re: Open Beta v7.6 | Please help testing and hardening the upcoming release

Post by Joulinar »

yes, what is the reason for trying to get web browser access to /root. Due to security we decided for a different user without root-user privileges. ;)

at the end a lot of thinks are possible even to switch file browser user.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply