Skip to content

Instantly share code, notes, and snippets.

View KKSzymanowski's full-sized avatar

Kuba Szymanowski KKSzymanowski

  • Emerge Consulting
  • Warsaw, Poland
View GitHub Profile
@KKSzymanowski
KKSzymanowski / opis.md
Last active November 19, 2020 11:20
Instalacja SQL Server Express 3.5 dla PRS
@KKSzymanowski
KKSzymanowski / set-permissions-and-acl.sh
Created June 1, 2018 13:07
[Laravel] Set default ACL for storage and bootstrap folders to allow www-data to write there
chmod -R ug=rwX,o=rX bootstrap/
chown -R www-data:www-data bootstrap/
setfacl -R -m default:u::rwX,default:g::rwX,default:o::rX bootstrap/
setfacl -R -m default:u:www-data:rwX,default:g:www-data:rwX bootstrap/
chmod -R ug=rwX,o=rX storage/
chown -R www-data:www-data storage/
setfacl -R -m default:u::rwX,default:g::rwX,default:o::rX storage/
setfacl -R -m default:u:www-data:rwX,default:g:www-data:rwX storage/