New Files in CIFS Shares not Inheriting Permissions

Status
Not open for further replies.

tjvanpat

Dabbler
Joined
Mar 2, 2014
Messages
16
I have a FreeNAS box running v9.2.1.2 being accessed by a Win7 system.

When a new file is created with Windows within a CIFS share that's mapped as a network drive, either manually or by a program (such as unzipping or an installation program), the new files do not inherit the permissions from the parent folder -- they always are created with 660 mask. They also do not get the permissions specified by the File Mask settings in the CIFS service settings (770). I've tried this with both Unix and Windows type datasets, and they both have the same results. I'm able to access the files with Windows and manually change the permissions to what I'd like.

New folders do inherit the correct permissions, so it seems to just be specific to new files not inheriting permissions.

Any ideas why folder permissions are inherited, but file permissions are not?
 
Joined
Mar 8, 2014
Messages
1
Im getting this as well , v9.2.1.2.

I worked around by unticking 'set volume permissions recursively' and using windows to set the permission of the volume root.
New files then inherit these permissions
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
bugs.freenas.org. Put a ticket in is the best way to get a dev's attention. I'd search for a similar complaint before making a new ticket though.
 
Status
Not open for further replies.
Top