Default File Permissions

Panagiotis Malakoudis pmal at space.gr
Wed Apr 5 13:57:21 GMT 2000


Within each share you must use the force directive as follows:

 [td-runet2k]
    comment = NetApp Export
    browseable = yes
    writable = yes
    path = /td/runet2k
    force create mode = 0775
    force directory mode = 0775

This works for me..

Panagiotis

----- Original Message ----- 
From: Alan Olegario <olegario at hardees.Rutgers.EDU>
To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at samba.org>
Sent: Wednesday, April 05, 2000 4:51 PM
Subject: Default File Permissions


> 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
> 
> 



More information about the samba-ntdom mailing list