I'm having trouble with permissions involving an SMB share hosted on another machine on my local network. It appears that no matter what options I provide in the
/etc/fstab or in a
ls -l always yields:
Here's the current
//this-is-my-server.local/share-folder /mnt/smb cifs credentials=<some-cred-file>,uid=0,gid=100,file_mode=0775,dir_mode=0775 0 4
Here's the aforementioned (and redacted) credentials file:
Here's the smb.conf share configuration on the hosting server:
[share] path = /some/path browseable = yes writeable = yes create mask = 0775 directory mask = 0775
To clarify, I can mount the share just fine, but I cannot write or create any files without sudo on the Pi. Note that a Windows machine which has the drive mapped can write and create files just fine.
Am I missing something in my setup here? Or, are the directory and file permissions being overridden elsewhere?
Edit: Running Raspbian 8 on a RasberryPi 3.