Symptom
After a Windows client writes a file to the server, other members of the same group see an alert when trying to write to the file. The alert may say that the user has inadequate permissions or privileges to modify the file.
Solution
There are several possible solutions to this issue. Two are presented here. The easiest solution to have the owner of the file change its permissions after creating it, granting access to group members.
Alternatively, you can edit the /etc/smb.conf file. This causes Windows clients to create files with the same privileges as the folder to which you save a file. The /etc/smb.conf file is dynamically created by Server Admin, so changes you make to this file would normally be overwritten through the normal use of Server Admin. The following steps will prevent that from happening, but they will also prevent you from making changes in the Windows file sharing settings in Server Admin.
1. Open the Terminal (/Applications/Utilities/).
2. At the prompt (#), type:
sudo pico /etc/smb.conf
3. Press Return. The file opens in the pico text editor within the Terminal window.
4. Use the cursor keys to locate the "global" section of the file, and add this line:
inherit permissions = yes
5. Press and hold the Control key, then press the "X" key. This saves the file.
6. Press the "Y" key.
7. Press Return.
8. At the prompt, type:
sudo chflags uchg /etc/smb.conf
Step 8 locks the file. If in the future you want to make changes to this configuration using the Server Admin application, you must unlock the file. Follow these steps to allow unlock it:
1. Open the Terminal.
2. At the prompt, type:
sudo chflags nouchg /etc/smb.conf
3. Press Return.