I'm almost ready to tear my hair off (At least i have a decent amount of it :P)
I built a Ubuntu 11.04 box at work for all the development team to work on it. Everything working fine so far but there is a small problem about default file permissions.
I've been searching for over 2h how to set the default permissions for files and folders when someone create something on the samba share.
So far, from my linux machine to the linux server through SMBFS, it works fine for directories and they are tabbed DRWXRWX--- which is what i want.
The files tho are not set to -RW-RW---- like i want. The darn group write never wants to light up.
I've tried a combination of all the possible configuration flags for create mode, create mask, force create mode force security mode, nothing works. So i finish by asking here.
Relevant config file section:
[homes] comment = Home Directories browseable = yes # By default, the home directories are exported read-only. Change the # next parameter to 'no' if you want to be able to write to them. read only = no # File creation mask is set to 0700 for security reasons. If you want to # create files with group=rw permissions, set next parameter to 0775. # create mask = 0660 create mode = 0660 # force security mode = 0660 # force create mode = 0660 # Directory creation mask is set to 0700 for security reasons. If you want to # create dirs. with group=rw permissions, set next parameter to 0775. # directory mask = 0777 # force directory security mode = 0770 # force directory mode = 0770 directory mode = 0770 valid users = %S