[Samba] Automatically create profile directory

Steve Feehan sfeehan at gmail.com
Wed Apr 5 03:49:43 GMT 2006


On 4/4/06, Mont Rothstein <mont.rothstein at gmail.com> wrote:
> I have my Samba PDC setup to use roaming profiles.  If the user's profile
> directory exists (ex: /var/lib/samba/profiles/someuser) with the correct
> permissions and ownership then it works fine.
>
> However, I expect (incorrectly?) that Samba would auto-create the user's
> profile directory the first time the user logged in.  Am I wrong or have I
> missed something?
>
> Thanks,
> -Mont
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>

The parent directory has to be writable by the user since the profile
directory is created with the privilege of that user. So something
like:

  chmod 1777 /var/lib/samba/profiles

Should be sufficient. Not pretty, but sufficient.

--
Steve Feehan


More information about the samba mailing list