I am having considerable difficulty with the resulting permissions on shared folder contents when using samba-connected hosts. The resulting permissions have been all over the place.
When I use a linux host (opensuse v12.1), the fstab entry has "file_mode=0664,dir_mode=0775". These are ignored; they end up being 0644 and 0755, not good for shared folders.
The usual solution is to modify the allowed permissions in smb.conf. Unfortunately there is no such configuration file in DSM.
When I use a windows host (winXP sp3), the resulting permissions are 0777 for everything. It is quite annoying to have the executable bit set on non-executable files.
When I use a MAC host (macos 10.7), the resulting permissions may be 0006 or 0007 or 0070, and sometimes 0777. Just weird.
Is there a way to set the default permissions to 0664 and 0775 for all hosts mounting volumes with CIFS/SMB?