Samba share folder … user can read/write but cannot delete files

samba

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!

Best Answer

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.

Related Topic