[Samba] permissions keeping changing

Bill Brunt BBrunt at lehmanengineers.com
Tue Dec 4 16:12:36 MST 2012


I've got a share where I needed the permissions to be 770 and I think an Apple Mac computer is connecting to a Samba share and changing the permissions each day.

At the end of the day, I'll set permissions to:

root at backblaze000002:/share1/QuinceCt/.TemporaryItems# ls -la
total 12
drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare   16 Nov 15 14:57 .
drwxrwx--- 9 jlehmanjr qcbbwritetoquincectshare 4096 Nov 25 11:45 ..
-rwxrwx--- 1 jlehmanjr qcbbwritetoquincectshare 4096 Nov 15 14:57 ._folders.501
drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare    8 Nov 15 14:57 folders.501

And then in the morning, it will be:

root at backblaze000002:/share1/QuinceCt/.TemporaryItems# ls -la
total 12
drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare   16 Nov 15 14:57 .
drwxrwx--- 9 jlehmanjr qcbbwritetoquincectshare 4096 Nov 25 11:45 ..
-rwx------ 1 jlehmanjr qcbbwritetoquincectshare 4096 Nov 15 14:57 ._folders.501
drwxrwx--- 3 jlehmanjr qcbbwritetoquincectshare    8 Nov 15 14:57 folders.501

Are there samba settings which can force permission settings to remain to something?

Here are the specifics:

----------------------- smb.conf (partial, not all shares shown) -------------------------------------------------------

# amba config file created using SWAT
# from UNKNOWN (192.168.99.26)
# Date: 2011/12/03 23:03:33

[global]
        security = ads
        password server = server
        workgroup = lehmanengineers
        realm = LEHMANENGINEERS.LOCAL
        netbios name = backblaze000002
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = Yes
        username level = 3

[QuinceCt]
        comment = Share used for media storage and other
        path = /share1/QuinceCt
        writeable = yes
        write list = administrator, @qcbbwritetoquincectshare
        valid users = @qcbbwritetoquincectshare, @qcbbreadfromquincectshare
#       read list = @qcbbreadfromquincectshare
        create mask = 770
        force create mode = 770
        force directory mode = 0770
        directory mask = 770
        force group =  @qcbbwritetoquincectshare

[PC11Backup]
        comment = Share used to hold backups of PC11...and so on, much more to file



More information about the samba mailing list