I have a file that a colleague and I are editing together, on a Unix system. We are using Unix group permissions to edit it. We have one Unix group that we are both members of. Whenever I save the file, it changes the Unix group to one that he is not a member of. Is there any way to stop it from doing that?
migrated from stackoverflow.com Jun 16 '11 at 18:21
|
Your options are to set the setgid bit ( |
|||||
|
|
One option is to switch group using the command |
||||
|
|
|
Uno. change your default login group number to be the same between the two people
Duo: create a new user id , with a password only known by the two people involved. Trio:.
Quattro:
Cinco: Create a few Google account and edit the thing SIMULTANEOUSLY in Google docs. (it is neat to watch where the other person is typing). Make a point of changing the sharing perms in Google Docs for "anyone with the link" Hexo: Split the file in two and have each editor only work on half. |
||||
|
|
|
Take a look at umask on your system. |
|||||||
|
|
Here is a good article about Sticky-Bit and other advanced permission settings: http://www.cs-repository.info/p/tutorial.html |
|||
|
|
