답변:
우노 기본 로그인 그룹 번호를 두 사람이 동일하게 변경하십시오.
username:x:500:514::/home/username:/bin/tcsh
# Where 514 is the group id.
듀오 : 관련된 두 사람 만 알고있는 비밀번호로 새 사용자 ID를 만듭니다. chown새로운 사용자 ID가 소유 한 파일 문제의 파일을 편집하기 전에 su새 사용자 ID로.
트리오:.
cp $EDITOR to $HOME; \# in this example pico
chmod g+s $HOME/pico;
chgrp RELEVANTGROUP $HOME/pico;
콰트로 :
sudo chgrp RELEVANTGROUP some/path/to/file \# may require root
Cinco : 몇 개의 Google 계정을 만들고 Google 문서에서 동시에 사물을 편집하십시오. (다른 사람이 입력하는 곳을 보는 것이 깔끔합니다). '링크가있는 모든 사용자'에 대해 Google 문서 도구의 공유 권한을 변경하십시오.
Hexo : 파일을 두 개로 나누고 각 편집기가 절반 만 작동하도록합니다.
다음은 Sticky-Bit 및 기타 고급 권한 설정에 대한 유용한 기사입니다. https://notes-from-a-dev.blogspot.com/2011/03/modes-and-permission-sticky-bit.html
setgid것이 끈적 끈적이 아닌 비트 라고 생각합니다 . Wikipedia에서 :Setting the setgid permission on a directory (chmod g+s) causes new files and subdirectories created within it to inherit its group ID, rather than the primary group ID of the user who created the file. 디렉토리에서 고정 비트를 활성화하면 디렉토리의 파일 소유자, 디렉토리의 소유자 또는 루트 만 디렉토리의 파일을 수정할 수 있어야합니다.