I followed this guide http://elinux.org/R-Pi_NAS to set up my Raspberry pi
as a samba server. I have a USB stick mounted that I want to share with all users in my LAN, with read+write permissions.
In the file /etc/samba/smb.conf I set the line
path = /mnt/USB_dir . (This folder i mounted to the USB drive in my /etc/fstab file)
The share works. I can see it from my win xp computer and it shows 2 shared folders.
one of them is "pi" (probably because first time i connected from windows i logged into to the folder with the pi/raspberry login, and pi folder is home folder for the user pi).
I also see my shared USB drive. I can browse the directories, I see all files etc. But I have no write permission on the USB flashdrive.
But, I have write permission in my "pi" folder.
In the log file (var/log/samba/log.<ClientComputerName>)
[2012/08/30 19:51:19.590639, 0] param/loadparm.c:9114(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/usb_dir failed. Permission denied
Any ideas?