I’m looking for some basic help on getting external sorage to work on my nextcloud 17.0 instance.
I have read several posts here, but the advice and circumstances given seem to be for very specific instances where I think that my instance is very typical.
I have one user named “mshelby.” This user also has admin privileges in Nextcloud.
My nextcloud instance is hosted on a Raspberry Pi with the latest Raspbian version running.
My Raspbian system has a root user, and only one general user also named ‘mshelby.’
I am aware that the Raspbian user and the nextcloud user are technically not the same since one is a system wide user, and one is a nextcloud only log-in user.
I have mounted an external usb drive. with system-wide user, mshelby as the owner. I am able to create and delete files on the system while logged in as this user on Raspbian. i.e from the command line I can create, edit and delete files on the drive as the mshelby user on Raspbian.
While logged into nextcloud as mshelby user with admin privs I created a local external storage mount, and incleded both ‘admin’ user and ‘mshelby’ user as having permission to access it. But my nextcloud user (also mshelby) cannot write to it. I get the “…you don’t have permission…” error.
So my issue seems pretty straight forward. My drive is a FAT32 drive. But I lack the proper permissions to access it and can’t figure out why.
Here is my FSTAB line:
/dev/sda1 /media/usb vfat user,iocharset=ascii,fmask=0022,exec,conv=b,gid=1001,umask=007,suid,codepage=437,errors=remount-ro,dev,relatime,shortname=mixed,dma$