Linux group and permissions [migrated]

view story

http://stackoverflow.com – I encounter a very very strange problem today... I followed a link(https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installatio...) to install GitLab on my Linux server today, in the Gitolite section, there are two lines to set permission and ownership of a folder: sudo chmod -R ug+rwXs,o-rwx /home/git/repositories/ sudo chown -R git:git /home/git/repositories/ And before these lines, it created a user and added it to a specific group: sudo adduser --disabled-login --gecos 'GitLab' gitlab sudo usermod -a -G git gitlab I checked the user and permissions after these steps: gi (HowTos)