Samba User minor permission setting
I have configured SAMBA in centos 6.5 server.I have locally created two users TEST1 and TEST2 and added them as Samba user
I also added samba password. So I can access my samba share by login with both the users.I can do evrything. But my problem starts when both the user wants to edit one excel sheet. User TEST1 is using centos desktop and User TEST2 is using Windows7.So I put the excel sheet in common directory and change its permissions to 777.
But when TEST1 edits the excel sheet and save, then the edited excel sheet's permission become 740 and ownership is also changed to TEST1 and now TEST2 canot edit the same excel sheet. I have to change permission manually everytime,but when TEST1 editsit becomes uneditable to TEST2. What to do kindly help.Thank you