[Samba] Automatically create profile directory

Mont Rothstein mont.rothstein at gmail.com
Wed Apr 5 20:04:08 GMT 2006


Thanks guys.  Making the profiles directory world writeable did it!

-Mont


On 4/4/06, Steve Feehan <sfeehan at gmail.com> wrote:
>
> 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