dietpi-software changing chown user Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
fefo1993
Posts: 2
Joined: Thu Oct 21, 2021 4:04 pm

dietpi-software changing chown user

Post by fefo1993 »

I installed dietpi on my raspberry pi3B+ and i make a new user with sull access on the system. Then i deleted default "dietpi" user for security reasons.
At his point, i have a little problem when i try to install any software using dietpi-software: the first command was

Code: Select all

chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads

but dietpi user doesn't exist anymore, so i need manually editing the command and insert my new default user...
how i can fix globally this problem and use my new user as default??
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi-software changing chown user

Post by Joulinar »

This is not possible at the moment as we expect user dietpi to be available. It's used as well for some application. There is a plan to change this behaviour and to have the user replaced during initial setup with an own private one. But this is just a plan and I'm not sure how long implementation will take as it is a larger task.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fefo1993
Posts: 2
Joined: Thu Oct 21, 2021 4:04 pm

Re: dietpi-software changing chown user

Post by fefo1993 »

Ok thanks for the reply. I will wait :)
Post Reply