ssh login with group
by aw_wolfe12 from LinuxQuestions.org on (#4XQA7)
I have a shared directory where 3 people work on files. It is owned by a group that all 3 belong to. However, whenever someone ssh into it and change a file, it is updated to "user":nogroup. This then prevents other users from updating files, because the file is no longer owned by the shared group. I also don't want them to have to manually set the group back each time they update the file...and I want to keep the "others" permission to readonly.
So, what I would them to do is like something along [ssh "user":"shared_group"@server]. However, when testing that and touching a file, it still isn't put into the correct "shared" group.
I think I'm overlooking something simple as this seems like it would be a common need.
Any help with setting up permission correctly or better way to ssh into server would be appreciated.
Tony


So, what I would them to do is like something along [ssh "user":"shared_group"@server]. However, when testing that and touching a file, it still isn't put into the correct "shared" group.
I think I'm overlooking something simple as this seems like it would be a common need.
Any help with setting up permission correctly or better way to ssh into server would be appreciated.
Tony