zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Samba permissions ignored with Mac OS X

January 19, 2014 by Igor Drobot Leave a Comment

Samba Logo

Mac OS X has a kind of different client behavior with a SMB-Server (Samba 3.6.6-6) than a Windows client.

By saving new files, they will be stored with Mask “0600/-rw——-” and that doesn’t matter what samba configuration prescribes (force create mode = 777).

So the explanation for this problem was found in the SAMBA documentation:

SAMBA has the “unix extensions” option set to “on” by default. This allows Unix users who write to the Samba shares to set their own permissions bits.

Now set them in the SAMBA global section [1] to off:

1
unix extensions = no

unix extensions = no

[1] SAMBA configuration file: /etc/samba/smb.conf

Filed Under: Linux Tagged With: MAC OS X, Samba

Time Machine Backup to Samba

August 16, 2012 by Igor Drobot 4 Comments

Time Machine is a backup utility developed by Apple. It is included in Mac OS X since MAC OS X version 10.5 alias “Leopard”. The software is designed to work with the Time Capsule as well as other internal or external drives.

Only with this trick [Read more…]

Filed Under: Linux Tagged With: backup, Samba, security, Time Machine

Samba hide Thumbs.db

August 3, 2012 by Igor Drobot 3 Comments

I have some samba servers with a lot of different shares, all thees share are accessed from different systems like Windows MAC OS X and Linux. Each system let some garbage like: [Read more…]

Filed Under: Apple, Linux, Macroeconomic, Nmap, Virtualization Tagged With: Apple, Samba, smbd, Thumbs.db

Samba passwd smbpasswd and tdbsam

November 18, 2011 by Igor Drobot Leave a Comment

Some commands to convert samba backend password-databases.

If you use “passdb backend = smbpasswd” in your smb.conf you must convert your system-user accounts to smbpasswd: [Read more…]

Filed Under: Linux, Networking Tagged With: passwd, Samba, smb, smbpasswd, tdbsam

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok