I have an issue when I want to write to a raspberry smb share from my PC (linux mint).
users on the raspberry: default user "pi" and new user "TF"
"pi" user has write permission, but "TF" does not seem to have it when I mount the shares.
TF was created and added as samba user according to this:
sudo adduser TF
sudo adduser TF sudo
sudo adduser TF users #not sure if relevant
sudo smbpasswd -a TF
...password also provided, credentials to mount in fstab work well
smb.conf looks like this:
[NASHDD1]
comment = some comment
path = /mnt/NASHDD1
browseable = yes
read only = no
public = no
create mask=0777
directory mask=0777
ownership of the folders looks like this:
$ ls -l /mnt/
total 4
drwxrwxrwx 9 TF root 4096 Oct 13 17:25 NASHDD1
$ ls -l /mnt/NASHDD1/
total 32
drwxrwxrwx 11 TF root 4096 Sep 10 12:22 asusware.arm
drwxrwxrwx 9 TF root 4096 Sep 13 22:35 Folder1
drwxrwxrwx 2 TF root 16384 Jun 9 07:38 lost+found
drwxrwxrwx 2 TF pi 4096 Oct 13 17:25 Music
drwxrwxrwx 10 TF root 4096 Oct 21 21:54 Folder2
What am I missing?
$ ls -l /mnt
showsdrwxr-xr-x 2 mymintuser root 4096 okt 21 23:32 nashdd1
/etc/fstab
?//raspberryPi2/NASHDD1/ /mnt/nashdd1/ cifs credentials=/home/mymintuser/.smbcredentials 0 0
on the client. Interestingly, when I try to create a file or copy one, it will create an empty one and issue an error message after...valid users =
parameter or so. You could addguest ok = yes
to your smb.conf share - just to see if it's a samba setting/option you're missing - good luck