1. IMPORTANT - 11/13/2015: In light of a possible breach we have scrubbed all passwords. You will need to request a password reset through the site. Click here for more information.

Samba Applying Permissions only to certain file types?

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

  1. ocoiwbh

    ocoiwbh New Member

    Mar 10, 2013
    Likes Received:
    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.

    comment = TEST
    path = /var/www
    valid users = user
    writeable = yes
    browseable = yes
    force create mode = 0644
    locking = yes

Share This Page