OSX Windows Sharing Permissions

Windows sharing on OSX Mavericks has missing group permissions. When creating or modifying files to a shared folder on Mavericks the permission are -rw------- The owner only has read and write permissions. In order to apply the group permissions an ACL (Access Control List) needs to be created on the parent folder.

1. Open the terminal and log in as root if you have admin privileges. The command prompt should change from a $ dollar sign to a # hash symbol, indicating the root user command prompt.
$ sudo su root

2. Enter the chmod command below. Change the <group> and the <parent_folder> to your particular group and parent_folder. The \ is the line continuation symbol that allows a single command to spread across multiple lines.
# chmod +a " allow list,add_file,search,delete,add_subdirectory,delete_child,\ readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,\ chown,file_inherit,directory_inherit"

3. Now when a Windows computer writes or modifies a file in the shared folder the ACL will be applied to the file because the ACL is inherited from the parent folder. You should now see this -rw-------+ notice the + plus symbol. Although the POSIX group permissions are missing the permissions have been created as an ACL.

Further information

This was used to get the 'Directory - Full Access' permissions.
http://www.ideocentric.com/technology/articles/title/osx-acl

This site talks about the problem but doesn't finish with a working solution.
https://discussions.apple.com/message/26010715#26010715