[Samba] User directories and groups usage
Marian Mlcoch, Ing
mm at tsmp.sk
Fri Aug 15 05:52:33 GMT 2003
Hi yuo miss
if set directory create mode to 440 then this dir is exatly not axesible!
(rr-)
but force directory mode = 440 is only add mask parameter then clasic create
unix mask for user is OR with 440 and mask created unix is 700 + 440 = 740
and this is not axesible for group that need x atribute or wx if need write
to directory.
force create mode is OR for files but AND with create mask try read smb.conf
man.
Bye.
----- Original Message -----
From: "Jason Williams" <jwilliams at courtesymortgage.com>
To: <samba at lists.samba.org>
Sent: Thursday, August 14, 2003 7:30 PM
Subject: [Samba] User directories and groups usage
> Morning everyone.
>
> I was playing around today with our PDC setup.
> One thing I noticed is that when I setup users to have their 'My
Documents'
> directory be /home/<user> everything works well.
> One thing I noticed is that the directory, subdirectories and files have
> the owner of the user and the group as per assigned, and permissions as
700.
>
> If I wanted to set it up so a specific group would get assigned the group
> for everyones /home/<user> as well as specific permissions, would I need
to
> add something like the following to my smb.conf, under the homes section:
>
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
> force group = daffy
> force create mode = 770
> force directory mode = 440
>
> Which should set the group to 'daffy' for all files and directories
created
> as well as set the new files with 770 and new directories as 440.
>
> That look about right?
>
> Thanks.
>
> Jason
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list