On Monday 01 April 2002 07:11 am, Alex Levit wrote:
The reason behind this question is probably beacause you're trying to get Samba to work and you have multiple groups, but any files or directories created by your users get their login default GID.
Answer lies in linux/unix permission settings, so read up on it.
chmod g+srw /path_to_your_directory
And as for smb.conf [data] comment = data path = /path_to_your_directory create mask = 0660 directory mask = 0770 browsable = yes write list = @data
Unfortunately all the books I have read on Samba never give an answer to a Linux newbie that decided to save some company's money for his upcomming raise by utillizing Samba in corporate network.
Nor, apparently do these books provide the answer the user was searching for, but then neither did you. If it is indeed samba, the answer he wanted was in the "force group" directive as seen in the sample below. But we don't know that it was samba, do we... [w0] comment = SoftwareStorage path = /raid/DataSys force group = +projectx read only = No create mask = 0660 force create mode = 0660 security mask = 0770 directory mask = 0770 force directory mode = 0770 directory security mask = 0770 -- _________________________________________________ No I Don't Yahoo! And I'm getting pretty sick of being asked if I do. _________________________________________________ John Andersen / Juneau Alaska