[Samba] profile permissions

Michelangelo Rezzonico mrezzonico at ticino.com
Thu Aug 29 02:03:08 MDT 2013


Thanks for the suggestion !

It seems to work.

The only problem is that before starting the "rsync" I need to create the
directory "profile" in the target system and set the "acl" permission for
this directory.

1) mkdir profile
    chown user1:ntuser profile
    chmod 711 profile
    setfacl -m default:user1:rwx profile
    setfacl -m default:group::--- profile
    setfacl -m default:other:--- profile

2) "rsync" from source to target system



Can someone confirm me that this is the ok ?

Thanks

Michelangelo




On Thu, Aug 22, 2013 at 6:45 AM, Michelangelo Rezzonico <
mrezzonico at ticino.com> wrote:

> I have a working samba-pdc installation with version 3.0.28
> The "profile" permissions in 3.0.28 (and all the files in this directory)
> are as follow:
> drwx--x--x  2 user1 ntuser 4096 Aug 22 12:36 profile
>
> I am installing a new server with samba version 3.6.3
> The "profile" permissions in 3.6.3 (and all the files in this directory)
> are as follow:
> drwx--x--x+  2 user1 ntuser 4096 Aug 22 12:36 profile
>
> The difference is the "+" sign that indicate acl permissions.
> How can I correctly migrate the profile from 3.0.28 to 3.6.3 in order that
> the permission are set correctly ?
>
>
How about using rsync to mirror the filesystem from source server to dest?

John


More information about the samba mailing list