zeldor.biz

Linux, programming and more

Copyright © 2023
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

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *