32 private links
make group hack and share folder with it
sudo groupadd hack
sudo chgrp -R hack /data/trueblocks
sudo chmod 770 /data/trueblocks
sudo chmod +s /data/trueblocks
create new user and add it to group hack
sudo useradd jacob --home-dir /home/jacob --shell /bin/zsh --no-create-home
sudo cp -r /home/alex/ /home/alex/
sudo chown -vR jacob:jacob /home/jacob
sudo usermod -aG hack alex
shared permissions
sudo chown root:hack /code
sudo chmod 2750 /code (2770 for executable)
sudo chmod go-rwx /code/*
sudo chmod g+rX /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo chown -R :hack /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo chmod -R g+s /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo setfacl -R -m g:hack:rwx /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo setfacl -R -d -m g:hack:rwx /code/zsh-autosuggestions /code/zsh-syntax-highlighting