I'm a linux noob and I'm trying to configure a simple NAS using my pi. I have done the configuration and mounted the USB flash drive (formatted using Fat32) to the /media/USBHDD1/shares folder but I'm unable to write to the shares folder for some reason. I have tried changing the permissions using chmod (command below) but this does not help. Can someone please help?
sudo chmod -R 777 /media/USBHDD1/shares
Samba config:
[global]
workgroup = WORKGROUP
server string = %h server
; wins server = w.x.y.z
dns proxy = no
; name resolve order = lmhosts host wins bcast
[Files]
comment = Backup Folder
path = /media/USBHDD1/shares
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
writeable = yes
browseable = yes
Also, the guide i have followed to do this setup is http://www.howtogeek.com/139433/how-to-turn-a-raspberry-pi-into-a-low-power-network-storage-device/
I can read files with no issues but I get the following error when I try to write a file in windows
Remove the # symbol from the security = user
but your config file doesn't havesecurity=user
/etc/fstab
would need to be:/dev/sda1 /media/USBHDD1 auto noatime,umask=000 0 0
I think