Hi
Below is my smb.conf file:
Code:
[global]
workgroup = SEP
netbios name = MASHIN
server string = Share for Linux Machine
map to guest = Bad User
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain master = No
usershare allow guests = Yes
cups options = raw
include = /etc/samba/dhcp.conf
security = user
[public]
comment = Public Folder
path = /home/public
public = yes
writeable = yes
read only = No
I have a user named publec, and I shared it's home folder
/home/public with permission 777. I also have added this user into smbpasswd file, with no password.
User can access to this folder, but the only person who can change/delete the file is the person who have put the file. While I wanna grant this access to everybody to change other files, too.
Do I have to do something else? The umask for public user is 022.