Hi all,

I have a samba directory caller 'archive' which needs to create files with 
u=rw,g=,o= authorities which i believe is octal 0600.

My smb.conf contains ...

[global]

    # Max permissions for a share
    create mode = 0666
    directory mode = 0777


[archive]
    comment = Archive Directory
    # Permissions when creating files in this share
    create mode = 0600
    directory mode = 0700
    path = /export/samba/archive
    read only = no
    valid users = ....

So I was supprised when I got ...

[EMAIL PROTECTED]:/mnt/samba/archive/dave-comp_backup$ touch test
[EMAIL PROTECTED]:/mnt/samba/archive/dave-comp_backup$ ls -al
total 12
drwxrwx--- 1 dave dave 4096 2006-06-01 21:13 .
drwxrwx--- 1 dave dave 4096 2006-06-01 21:07 ..
drwxrwx--- 1 dave dave 4096 2006-06-01 21:05 
2006-06-01_21.04.10.326411.dave-comp.ful
-rw-rw---- 1 dave dave    0 2006-06-01 21:13 test
[EMAIL PROTECTED]:/mnt/samba/archive/dave-comp_backup$

ie 0660 ? Can anyone tell me where i am going wrong ?

Cheers

Dave
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to