I've been working through these two tutorials, in the hopes of setting up a Raspberry Pi to run Owncloud and Resilio Sync in tandem. First, I installed Owncloud and gave it access to a mounted external HDD as recommended in the guide, and it works, but trying to "merge" privileges for the external HDD so that both it and Sync have read/write access to the directory has proven frustrating (i.e. it doesn't work on Sync's end).
Sync is owned by the "pi" user. Owncloud is owned by the "www-data" user. I tried chown-ing Sync to run as "www-data" but that had no positive effect. Here's my current fstab entry:
UUID=[UUID HERE] /mnt/ownclouddrive auto nofail,uid=33,gid=33,umask=0027,dmask=0027,noatime 0 0
Also, it appears I need to fstab the drive in order for Owncloud to work.
What am I overlooking? I'm a novice to Linux, so any help is appreciated. Thank you!