Snap Nextcloud on Ubuntu 18.04 and external drives

Hello,
I’ve installed Nextcloud 13 on Ubuntu 18.04 LTS using snap.
I have done:

sudo apt-get install smbclient
sudo snap connect nextcloud:removable-media

and I have created a mount point: /media/mydrive and

sudo mount /dev/sdc /media/mydrive

I continue to get the warning in Nextcloud: “smbclient” is not installed. Mounting of “SMB / CIFS”, “SMB / CIFS using OC login” is not possible. Please ask your system administrator to install it.

However, if I chown /media/mydrive to www-data and chmod to 777, the lights for the external drives under admin go green, while the drives under ‘personal’ stay red, but I can import files.

Is this as far as I can go with this? Is it not a security risk to leave permissions for the mount point to 777?


It wont work ootb since this isnt implemented in snap or just not working. I had to mount a share manually to get access