tschwenke Posted October 17, 2006 Report Share Posted October 17, 2006 My samba stuff has been up and running for a long time, and I have lived with this issue but what to fix it... Machine1: user-Amy ; group-Amy Machine2: user-Travis ; group-Travis So, when my wife writes to the samba shares on the Linux box from WinXP, it assignes the group to her and I can see the files, but I can't change anything and vice-versa. I have a group 'Parents' on the Linux box that we both belong to and I would like when we write to the Samba shares from Windows that it use this group. I have done some searches and I must be using the wrong key words as I can't find where I would change the Samba user/group assignment. And maybe it is just a Linux side change where I remove that group and only assign us to the parents group. Link to comment Share on other sites More sharing options...
tschwenke Posted October 17, 2006 Author Report Share Posted October 17, 2006 Well, here is what I found out so far. I created a test user and made the default group 'parents' on the linux side. When that user logs on now from windows it does pick that group. I also made the share create permissions give the group ability. I have to test that, but I don't see why that part will not work. Is this then the correct way to handle this? Link to comment Share on other sites More sharing options...
scoonma Posted October 17, 2006 Report Share Posted October 17, 2006 Hi tschwenke, your concept looks good to me. But anyhow, if it works, it is "correct". :-) Link to comment Share on other sites More sharing options...
aioshin Posted October 18, 2006 Report Share Posted October 18, 2006 (edited) you may try the option below inside your shared folder defined at smb.conf [shared] comment = shared path = /home/shared read only = no valid users = user1 user2 +parents inherit permissions = Yes -valid users are user1 user2 and all member of group parents -inherit permision, if you chmod 770 the /home/shared folder all files on it and the said folder will have a 770 permission, which allow user and group to have a rw permission. Edited October 18, 2006 by aioshin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now