svn commit: samba r5791 - in trunk/source: param printing smbd

jra at samba.org jra at samba.org
Tue Mar 15 01:19:59 GMT 2005


Author: jra
Date: 2005-03-15 01:19:58 +0000 (Tue, 15 Mar 2005)
New Revision: 5791

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5791

Log:
Added new parameter "inherit owner". If set on a share, the created file/directory
will be owned by the same uid as the containing directory. Doing this for directories
in a race-free mannor has only been tested on Linux (it depends on being able to open
a directory and then do a fchown on that file descriptor). If this functionality is
not available then the code silently downgrades to not changing the ownership of a
new directory. This new parameter (docs to follow) finally makes it possible to create
"drop boxes" on Samba, which requires all files within a directory to be commonly owned.
A HOWTO on how to use this will follow.
Jeremy.

Modified:
   trunk/source/param/loadparm.c
   trunk/source/printing/nt_printing.c
   trunk/source/smbd/filename.c
   trunk/source/smbd/open.c
   trunk/source/smbd/reply.c


Changeset:
Sorry, the patch is too large (379 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5791


More information about the samba-cvs mailing list