0. Running Ubuntu 19
1. I have a Samba share configured for '/usr/share/ which I can access remotely just fine, as well as any directories and subdirectories created therein.
2. If I mount my USB drive manually through the command line to '/usr/share/media', I can access it via the Samba share.
a. E.G. smb://myservername/share/media
3. Not wanting to manually mount the drive after every reboot I added the USB drive to my fstab
a. /dev/sda2 /usr/share/media exfat defaults 0 0
b. After rebooting, the volume is mounted and accessible via the CLI, even by non-root users. E.G. no sudo required
4. When I connect to my share I can still see the original directories I could in step #1, as well as my mounted USB drive 'Media'
a. What I can't do is access the 'Media' directory via Samba. I receive 'Access Denied'
5. Thinking it was a permissions issue, I did a chmod 777 against the 'media' mount point and restarted Samba, but that didn't help
Maybe I'm barking up the wrong tree, but what is the difference between mounting the volume from the command line vs. through fstab that would make the directory inaccessible via Samba? Is there anything else it might be? Why can't I access the 'Media' directory via Samba?
1. I have a Samba share configured for '/usr/share/ which I can access remotely just fine, as well as any directories and subdirectories created therein.
2. If I mount my USB drive manually through the command line to '/usr/share/media', I can access it via the Samba share.
a. E.G. smb://myservername/share/media
3. Not wanting to manually mount the drive after every reboot I added the USB drive to my fstab
a. /dev/sda2 /usr/share/media exfat defaults 0 0
b. After rebooting, the volume is mounted and accessible via the CLI, even by non-root users. E.G. no sudo required
4. When I connect to my share I can still see the original directories I could in step #1, as well as my mounted USB drive 'Media'
a. What I can't do is access the 'Media' directory via Samba. I receive 'Access Denied'
5. Thinking it was a permissions issue, I did a chmod 777 against the 'media' mount point and restarted Samba, but that didn't help
Maybe I'm barking up the wrong tree, but what is the difference between mounting the volume from the command line vs. through fstab that would make the directory inaccessible via Samba? Is there anything else it might be? Why can't I access the 'Media' directory via Samba?