I have Debian running with Samba and sharing with OSX. For some reason, Samba is assigning a different permission level to certain files (PDF's GIF's, Jpegs, etc) and other permissions to movie files (M4V, FLV,etc) when they are created. I cannot find why it is doing this and it is breaking my setup! The permissions being assigned to the documents and pictures are: -rw-r--r-- The permissions applied to movie file types are: -rw-r----- I can manually use chmod 644 on the files and they work properly, I would prefer not to do this. Below is the share config from the smb.conf file. [test] comment = TEST path = /var/www valid users = user writeable = yes browseable = yes force create mode = 0644 locking = yes