I'm using raspbian distribution with samba server installed and I can access to my raspberry samba folder using my Macbook Pro; now I want to mount an external hard disk I formatted to exFat (because I want to use it on linux\windows\mac).
I use the pi user to login into my raspberry and before mounting external hd I created a folder under '~/hdd' with chmod 777 ( I want to have all permissions to read\write from my macbook).
I tryed to mount external hard disk using:
sudo mount -t auto -o uid=pi,gid=pi /dev/sda1 ~/hdd
It mounts correctly but at first I noticed that my hdd folder after mounting the hard disk become root root owner as you can see:
drwxr-xr-x 1 root root 131072 set 21 16:29 hdd
without writing permissions for external users!
I tryed to mounting external hd using this entry in fstab file:
myuuid /home/pi/hdd auto rw,auto,user,exec,sync 0 0
but I have the same result.
Now I can access to the folder using my mac (by samba server) but I can't write into it because I have no permissions to do that
I have this entry on samba configuration file smb.conf:
[public]
comment = Public Shares
browsable = yes
path = /home/pi/hdd
public = yes
writable = yes
readonly = no
guest ok = yes
create mask = 0777
directory mask = 0777
Can you help me please? I want to have for my external hard disk read\write permission using pi default user on raspberry and also read\write permissions accessing by samba server from my Macbook.
Can you help me please?
thank you very much