I have manually installed a couple of applications that are not present in the official DietPi software catalog (for the record, amule and jdownloader)
I created an user for each of them and installed them under /mnt/dietpi_userdata, each in it's own home directory, owned by the respective user.
So, just to be clear, an entry in /etc/passwd would be:
Code: Select all
amule:x:1001:1001::/mnt/dietpi_userdata/amule:/usr/bin/nologin
Code: Select all
drwxrwxr-x amule amule /mnt/dietpi_userdata/amule
The problem I encountered is that whenever I install new software using dietpi_software, the owner of the folders under /mnt/dietpi_userdata is forced back to dietpi:dietpi and this of course breaks the applications.
Is it a feature? Can I avoid this behaviour? Must I install personal software somewhere else?