Samba share write
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
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
- 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?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





