[Samba] How to remove ability to delete files

Mike Gallamore mike at mpi-cbg.de
Thu Nov 27 14:56:20 GMT 2008


That doesn't seem to do what I need it to. I can't write files now,  
even though I'm a member of the group that owns the directory.

I have:

[project-mike]
path=/<path to share>/project-mike
browsable = yes
writable=yes
inherit permissions = yes

chown -R <someone else> project-mike
chmod -R 1750 project-mike


On Nov 27, 2008, at 3:32 PM, Iarly Selbir wrote:

> You can employ the sticky bit on the files.
>
>
> chmod 1750 _file_
>
>
> the files will only be deleted by your owner
>
> I hope helped you!
>
> Regards,
>
> ---------------------------------------------
> Iarly Selbir ( Ski0s )
>
>
>
> On Thu, Nov 27, 2008 at 2:19 PM, Mike Gallamore <mike at mpi-cbg.de>  
> wrote:
> Hi, this is kind of a strange situation. I have a share that I want  
> to work like a drop box. I want users to be able to create new files  
> and read existing files, but not be able to delete them (except for  
> the owner of the dropbox). Does anyone know how to do this?
>
> I've tried every combination I could think of write list, read only,  
> force group, and sticky bits on the directory itself. Any help would  
> be greatly appreciated.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list