Ryan, Ok, now i understand (I think), how about inherit acls ??
inherit acls (S) This parameter can be used to ensure that if default acls exist on parent directories, they are always honored when creating a subdirectory. The default behavior is to use the mode specified when creating the directory. Enabling this option sets the mode to 0777, thus guaranteeing that default directory acls are propagated. Default: inherit acls = no I would set it to yes. Josh -----Original Message----- From: Ryan J Betz [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:55 AM To: Konkol, Josh; [EMAIL PROTECTED] Subject: RE: [Samba] Inherited permissions problem I guess I should have probably left those mask parameters out of my example. All I want to happen is if I have a folder which is 0777, and a file is created in it, it is also 0777. If the folder is 0744, so are created files. If I set force create mode = 0755, all files everywhere are created like that. If I have a folder that is 0700, inherit permissions = yes, and force create mode = 0755, the files created in the folder are 0755, whereas I want them to be 0700. Maybe I'm just confusing myself :) Thanks again for all the help! Ryan J Betz -----Original Message----- From: Konkol, Josh Sent: Monday, June 03, 2002 12:47 PM To: 'Ryan J Betz'; [EMAIL PROTECTED] Subject: RE: [Samba] Inherited permissions problem Ryan, I think you want force create mode: force create mode (S) This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the create mask parameter is applied. See also the parameter create mask for details on masking mode bits on files. See also the inherit permissions parameter. Default: force create mode = 000 Example: force create mode = 0755 would force all created files to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'. HTH Josh -----Original Message----- From: Ryan J Betz Sent: Monday, June 03, 2002 8:07 AM To: [EMAIL PROTECTED] Subject: [Samba] Inherited permissions problem I am attempting to set up an inherited permissions share and cannot get it to work. [log] path = /log writeable = yes directory mask = 0755 create mask = 0755 inherit permissions = yes guest ok = no public = yes I have tried many different combinations of settings to no avail, such as removing the create and directory masks. I may also be misunderstanding the function. From what I have read, if there is a folder within this share with permissions of 0777, all files created within that folder should be 0777 as well. There is one folder within a share that I want files created to be 0777, and I figured this was the best way to do this. Please feel free to correct me if I am mistaken. I am running samba version 2.2.3a. Regards, Ryan J Betz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
