I’m setting my RPi3 to serve OwnCloud and I’ve got external drive for the data. My issue is that when selecting location where my data folder is into the set-up page it gives me:
error can't create or write into the data directory
so I added
UUID=F307-C810 /media/pi/F307-C810 auto nofail,uid=33,gid=33,umask=0027,dmask=0$ into
/etc/fstab file which sets ownership of the drive on every boot. 33 is id of the OwnCloud user and F307-C810 being the drive name.
I also ran
sudo chmod -R 775 /media/pi/F307-C810 which should give sufficient permissions for my use case.
Yet I get the error. What else I can try ?