I intend to setup a samba share server that all user can write files to but they can not delete files was put in that folder.
Which configuration is suitable for me!
Thanks in advanced!
The user needs to have the linux file system rwx permissions on the directory the file is in, to be able to delete files in the directory.
You can achieve this by default in a few different ways, for new files one method is the use of default create masks so all new files and folders will have the correct linux file system permissions.
As far as I know it isn't done with samba, but with linux. You should assign the sticky flag to the main share directory with chmod. For example, if you're sharing /home/foo you should execute "chmod +t /home/foo/".
Also I suggest to use the linux ACL system or the default creation mask in samba configuration to propagate automatically this behaviour to subdirectories.