Mariadb installation failed

Hello, resalt is:

root@DietPi:~# ls -dl / /mnt /mnt/HDD
drwxr-xr-x 21 root   root  4096 ápr   28 18.33 /
drwxrwxrw-  8 root   root  4096 márc  15 16.17 /mnt
drwxrwxrwx  7 dietpi users 4096 ápr   28 11.58 /mnt/HDD
root@DietPi:~#

This is the issue, the /mnt dir is not accessible by everyone. Try this:

sudo chmod 0755 /mnt /mnt/HDD /mnt/HDD/nextcloud_data
sudo usermod -G redis www-data
sudo chmod -R o-w /mnt/HDD/nextcloud_data # to remove global write access to Nextcloud data

I tried and now, still looks good the system.
If everithing ok, I need to start remove users from root group too?

Yes removing user from root group would be next step.

Already done:

sudo usermod -G redis www-data

Applies redis as “only” supplementary group for the user, i.e. removes all others.

Thanks for your help! @MichaIng and @Joulinar

1 Like