Here http://www.mail-archive.com/samba@lists.samba.org/msg95977.html is
what Jeremy Allison wrote when I asked pretty much the same thing, we
have drop boxes for students at school. The only extra thing we had to
do was set a default setfacl -m d:u:domain\\teacher:rwx dropbox so that
the teacher had full control over anything the students created in
there. (using extended acls obviously)
Hope you can pick out what you need for your situation.
Steve Rippl
Woodland School District
> -----Original Message-----
> From: samba-bounces+rippls=woodlandschools.org@lists.samba.org
> [mailto:samba-bounces+rippls=woodlandschools.org@lists.samba.org] On
> Behalf Of Mike Gallamore
> Sent: Thursday, November 27, 2008 6:56 AM
> To: samba@lists.samba.org
> Subject: Re: [Samba] How to remove ability to delete files
>
> 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@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
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba