[Pkg-samba-maint] Bug#532856: umask settings overridden by Mac OS X 10.5 (Leopard) clients

Josip Rodin joy at debbugs.entuzijast.net
Fri Jun 12 19:28:19 UTC 2009


On Fri, Jun 12, 2009 at 09:42:56AM -0700, Steve Langasek wrote:
> On Fri, Jun 12, 2009 at 11:27:08AM +0200, Josip Rodin wrote:
> > However, Mac OS X 10.5 'Leopard' users seem to have their default system
> > umask of 022 magically propagate into the Samba server, and then their dirs
> > become 0755 and files become either 0644 or even worse (sometimes o-r,
> > sometimes g-r,g+w!).
> 
> > Only after we made those users to have umask 002 in their
> > /etc/launchd.conf files and rebooted them, did their new files start
> > getting the right permissions on these Samba shares. However, that is
> > just a workaround, judging by the description in smb.conf(5), the server
> > never should have let them apply their own umasks in the first place...
> 
> Is this affected if you set 'unix extensions = no' on the server?

I'll be able to test that later, sorry, the clients are all down now (TGIF :)

After this hint, I've done a more precise google search, and it looks
like others have come across very similar problems before me, e.g.
http://discussions.apple.com/thread.jspa?messageID=7349655
http://bugs.contribs.org/show_bug.cgi?id=4164

At this point I'm completely dazzled by the amount of conflicting ACL
systems Samba is involved with :) one thing seems certain - it's pretty
confusing for us users.

-- 
     2. That which causes joy or happiness.





More information about the Pkg-samba-maint mailing list