I am trying to set up external storage with ownCloud however, I get “You don’t have permission to upload or create files here” when I try to do anything with it. I have tried setting chmod -R 777 on the parent folder and followed the install guide on the forums for ownCloud but I’m really at a loss. I’d quite like to replace the Samba share with something a little snazzier!
The above will only apply permissions to the DietPi user data location and /var/www, so if you have manually changed the Owncloud data location (eg: not using DietPi tools to move user data), you’ll need to manually set permissions: