I have a problem writing to a folder that I share using samba on my ubuntu machine. I can access the files from my Windows 7 machine, but I cannot write to the folder, any suggestions?
Thank You very much
Samba executes the file operations as a local unix user on the server you are running samba on. Make sure that you have this user defined to the one you want in smb.conf and that this user has write access to the directory/files.
you can see the full example here
but basically what you want to do is:
[someshare] comment = Some Share path = /path/to/share read only = No force user = someuser force group = somegroup guest ok = Yes create mask = 0775
then you just need to do:
chown -R someuser:somegroup /path/to/share chmod -R 775 /path/to/share
Leave a comment
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?