Default File Permissions

Christian Duclou Christian.Duclou at eeigm.inpl-nancy.fr
Wed Apr 5 16:43:54 GMT 2000


Take a look on that
    http://www.oreilly.com/catalog/samba/index.html
It seems to me that create mode = 0775 is automatic change to create mode = 0755
you can try
    force create mask = 0775
C.D.

Alan Olegario wrote:

> Hello all-
>
> I'm kind of new to samba, so please bear with me.  Whenever a user
> creates a new document, it's created with 664 permissions.  Also,
> whenever a user creates a directory, it's created with 755
> permissions.  I want everything to be created with 775 permissions.
> Please find attached smb.conf and if anyone can help me out, I'd
> appreciate it.  Thanks.
>
> [global]
>    socket options = TCP_NODELAY
>    case sensitive = no
>    default case = lower
>    mangle case = no
>    preserve case = yes
>    short preserve case = yes
>    workgroup = RU2K
>    dead time = 600
>    getwd cache = yes
>    hide dot files = no
>    debug level = 3
>    security = user
>    server string = RUNET2K Samba Server
>    wins proxy = yes
>    wins server = duh.rutgers.edu
>    encrypt passwords = Yes
>    admin users = duh
>
> [td-runet2k]
>    comment = NetApp Export
>    browseable = yes
>    writable = yes
>    path = /td/runet2k
>    create mode = 0775
> -------------
> Alan Olegario
> Rutgers University Computing Services
> Systems Administrator
> RUNet 2000 Project Office
> 63 Road 1
> Piscataway, NJ 08854
> Voice:  732-445-1470x606
> Fax:    732-445-1481
> Cell:   732-433-6840
> Email:  olegario at noc.rutgers.edu
> Pager: 732-954-9158 or olegario at pager.rutgers.edu
>
>   ------------------------------------------------------------------------
>
>   Alan Olegario <olegario at hardees.rutgers.edu>
>   Systems Administrator
>   Rutgers, The State University of New Jersey
>   Telecommunications Division
>
>   Alan Olegario
>   Systems Administrator                        <olegario at hardees.rutgers.edu>
>   Rutgers, The State University of New Jersey
>   Telecommunications Division
>   RUNet 2000 Project Office                    Work Voice: 732-445-1470x606
>   63 Road 1                                    Voice Pager: 732-433-6840
>   Piscataway                                   Work Fax: 732-445-1481
>   New Jersey
>   08854
>   USA
>   Additional Information:
>   Version   2.1
>   Last Name Olegario
>   First NameAlan
>   Label WorkRUNet 2000 Project Office 63 Road 1 Piscataway, New Jersey 088540D USA
>   Revision  20000405T140416Z

--
_____________ EEIGM - Service Informatique _____________
  6, rue Bastien LEPAGE - 54010 NANCY - CEDEX - France
  Phone: (33) 383.36.83.27  -   Fax: (33) 383.36.83.36
_______________ http://eeigm.inpl-nancy.fr _____________




More information about the samba-ntdom mailing list