All,
I am trying to configure SAMBA in E-Smith 5.5 to properly run DACEASY accounting software in multi-user mode using Windows 98 / Windows 2000 / Windows. When DACEASY needs to give a user exclusive access to a file, it attempts to change the file to "read-only". With the standard SAMBA config, the attempt is ignored because if SAMBA determines that the user has WRITE permission to the file, the request to set the "read-only" flag is ignored. DACEASY then complains that it is unable to set the file attributes and quits. I have researched newsgroups about this problem, and found the following recommendations to fix the problem in the SAMBA share:
[begin quote]
You need to set the DOSFILEMODE=YES for the shares you want to use it on. You also need to combine this with "FORCE GROUP" and :FORCE SECURITY MODE" to make sure that the group is forced to one that has write access to these directories. Then you want to force the group members to have write permissions to the files. This will let the DOSFILEMODE magic do its work. You also want to force the DIRECTORY CREATION MASK to be 2775 (or setGID) so that any new files created will inherit the directory group, and not the user's group, forcing it to stay in line with the above group constraints.
[end quote]
The DOSFILEMODE setting I understand, but as a LINUX newbie, I am hesitant to change the other settings because I do not fully understand how to mask the necessary permissions for FORCE GROUP and FORCE SECURITY MODE, nor do I know how to force the DIRECTORY CREATION MASK. Could a more experienced user let me know what the necessary commands are?
Thanks
Peter