diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-15 01:19:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:01 -0500 |
commit | cc5ba986bf4c7b704ae5c3787f2f3881145e719c (patch) | |
tree | d7d83dee305d4d62a6f763bafc28bf4b07e24cf1 /source3/smbd/dosmode.c | |
parent | 00a62a7f6d880c3788e7211cbbcc95dc6e2aa90e (diff) | |
download | samba-cc5ba986bf4c7b704ae5c3787f2f3881145e719c.tar.gz samba-cc5ba986bf4c7b704ae5c3787f2f3881145e719c.tar.bz2 samba-cc5ba986bf4c7b704ae5c3787f2f3881145e719c.zip |
r5792: 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.
(This used to be commit 2e1f727184b9d025d2e3413bdd3d01d5ca803a41)
Diffstat (limited to 'source3/smbd/dosmode.c')
0 files changed, 0 insertions, 0 deletions