On Thu, 2003-02-06 at 16:32, Glen Overman wrote: > Hi, > New to Samba & this list, so please forgive if I make a faux pas. > I've got a Redhat 7.3 box with Samba, & 2 Win stations, called "ws1" & "ws2". > When either station creates files on the server, all the files get created with > permissions of rw-r--r-- (644). How do I get them created with 777? > ws1 & ws2 are both set up as entries in the /etc/passwd file & in the > samba password file, with "umask 000" in their respective .bash_profile's. > root user also has umask 000. The smb.conf attempts are shown below:
are you looking for 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'. -- Bradley W. Langhorst <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba