[PATCHESv2] Add vfs_admin vfs module

Jeremy Allison jra at samba.org
Tue Oct 6 00:10:43 UTC 2015


On Sun, Oct 04, 2015 at 09:39:50PM +0300, Uri Simchoni wrote:
> This time with correct patch set. Sorry for the mess..
> Uri.
> 
> On 10/04/2015 09:28 PM, Uri Simchoni wrote:
> >Oops... something got messed up with this patch, resending shortly.
> >
> >On 10/04/2015 09:22 PM, Uri Simchoni wrote:
> >>Hi,
> >>
> >>This patch set adds vfs_admin, a simple vfs module that fixes
> >>file ownership for admin users.
> >>When a user is defined as an admin user, smbd runs as root, and
> >>files created by this user are
> >>owned by root. This patch fixes that by adding a vfs module to
> >>change the ownership of created objects.

Are there any security implications here ? I'm still
thinking about this.. Do you need to use the race-free
techniques we use in change_file_owner_to_parent() ?

Jeremy.



More information about the samba-technical mailing list