Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Samba Applying Permissions only to certain file types?

Discussion in 'General Server' started by ocoiwbh, Mar 24, 2013.

  1. ocoiwbh

    ocoiwbh Guest

    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
     

Share This Page