Samba and file/directory ownership by accessing with "root" user

Samba is tricky. Smile Even if you allow authentication and access of the "root" user to a service, it will not create new files/directories with root's credential, but use the ownership of the parent directory instead. You can set "force group", "inherit owner" or whatever ... if you authenticate to the Samba server as "root" and create a file or a directory, then it will inherit the ownership (both user and group) of the parent directory. The only was to create root-owned files while authenticated as "root" is if you do this within a directory that itself is owned by root. Smile