5 lines210 B
ls -l script.sh # -rw-r--r-- | |
chmod u+x script.sh # -rwxr--r-- | |
chmod 640 secrets.txt # owner rw, group r, others nothing | |
sudo chown www-data:www-data /var/www/site -R | |
umask |
ls -l script.sh # -rw-r--r-- | |
chmod u+x script.sh # -rwxr--r-- | |
chmod 640 secrets.txt # owner rw, group r, others nothing | |
sudo chown www-data:www-data /var/www/site -R | |
umask |