[Samba] Users Read/Write/Delete Permission
michaelh at jaswin.com.au
Mon Mar 12 23:10:08 GMT 2007
>> Hi, is there any possible way to configure access for a user
>> that could be able to create/modify files on a shared directory
>> but can't delete them or any other file?
> For things like sockets and pipes and makes sense since
> there is nothing inside the file, but if you are trying to
> protect documents from being deleted by "bad-users" then it would
> not solve your problem.
Also when word or excel (as well as various other programs) save a file,
they first write to a temporary file, then delete the original, then
rename the temporary file. So if the user can't delete, they can't save
a word document.
As Felipe said, if you're looking to protect documents, this isn't the
solution. In that situation I personally like keeping rsync snapshots on
a seperate hard drive of server. Using hard links you can store a LOT of
snapshots using relatively little storage space. Also the recycle vfs
module might be useful.
-- Michael Heydon
More information about the samba