View Full Version : [ubuntu] User/Group of files created by Samba

January 9th, 2010, 06:06 AM
I set samba to share my public directory /home/myname/public to everyone without password using security = share option.

For public directory section:
path = /home/myname/public
read only = no
guest ok = yes
force user = myname
force group = myname

People can now read and write to my public directory. The only problem is that those files created are all owned by nobody:root. How can I force them to be owned by myname:myname?