Setting individual umasks for Homes

Robert Dahlem Robert.Dahlem at frankfurt.netsurf.de
Sun Oct 18 14:04:47 GMT 1998


Jeff,

On Sat, 17 Oct 1998 01:23:18 +1000, Jeff Newton wrote:

>Is there any way I can set different umasks for different users in
>the "homes" share?

You have to include another smb.conf within the definition of the homes share. I'm 
not sure which percent substitution (%U?) it is but consider something like

    [homes]
        ; default settings when smb.conf.%U not found
        create mask = 0xxx
	directory mask = 0xxx
	include = /your_path/smb.conf.%U

Now create a different smb.conf.<what_name_ever> for each user with the need for a 
different umask.

I don't have my samba machine available at the moment, so please apologize typos.

Hasta la vista,
               Robert

-- 
---------------------------------------------------------------
Robert.Dahlem at frankfurt.netsurf.de
Radio Bornheim - 2:2461/332 at fidonet +49-69-4930830  (ZyX, V34)
                 2:2461/326 at fidonet +49-69-94414444 (ISDN X.75)
---------------------------------------------------------------



More information about the samba mailing list