Question about permissions and roaming profiles

Gérard Milhaud Gerard.Milhaud at esil.univ-mrs.fr
Tue Feb 15 11:11:02 GMT 2000


Inge-Haavard Hunstad wrote:

> It's possible to create a directory for each user in the profiles share.

OK. I've tried to automate the creation of the profiles with the %U option
and the creation of the user profiles directories in mode 700 is OK in the
777 father directory. But if I try to put the father directory in 755 : it
fails.

Other solution I've tried : make a soft link in the father directory for each
user pointing to a directory .ntprofile in the unix home dir of the user. OK.
It works but even with this method, I've tu put 777 on the father
directory!!!

My [profiles] section in smb.conf  for both two solutions :

[profiles]
   comment = ESIL users' NT Profiles
   writable = yes
   path = /export/conan/home/profilsNT
   guest ok = yes
   create mask = 0600
   directory mask = 0700

plus this line in the [global] section :
  logon path = \\%L\profiles\%U

Thanks a lot, you're the only one answering me both in France and in the
world...





>
> You also have to change owner and permissions on all the directories so
> that the user is able to write to the directory. But this depends on how
> your setup is. So if it's not working then I recommend that you post the
> sections in smb.conf that shows your profiles setup.
>
> inge
>
> Gérard Milhaud wrote:
> >
> > Hi,
> >
> >     Just a short question : Is it possible to NOT have the profiles
> > directory used for the roaming profiles shares ([profiles]) in unix mode
> > 777 ? Because it is a bit annoying when unix users have access to the
> > samba server providing a 777 space ?
> >
> >     Thanks in advance,
> >
> > --
> > Gérard MILHAUD
> > École Supérieure d'Ingénieurs de Luminy (ESIL)
> > Luminy - Case 925 - 13288 Marseille Cedex 09
> > Tél.: 04 91 82 85 31 - Fax.: 04 91 82 85 11
> > mailto:g at esil.univ-mrs.fr

--
Gérard MILHAUD
École Supérieure d'Ingénieurs de Luminy (ESIL)
Luminy - Case 925 - 13288 Marseille Cedex 09
Tél.: 04 91 82 85 31 - Fax.: 04 91 82 85 11
mailto:g at esil.univ-mrs.fr





More information about the samba mailing list