From a220b4526d5a3a695175e6343b72230dd3908fa4 Mon Sep 17 00:00:00 2001 From: SeNS Date: Mon, 24 Jun 2024 22:38:01 -0400 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2c0ae8e..d9233fe 100644 --- a/README.md +++ b/README.md @@ -103,9 +103,12 @@ For simplicity, I'll use my current Ubuntu instance user name, you should replac sudo passwd uploader sudo chown uploader:uploader /var/www/html/upload sudo chmod 755 /var/www/html/upload - sudo apt install acl - sudo setfacl -m u:uploader:rwx /var/www/html/upload - getfacl /var/www/html/upload + ``` + + ### Do not forget to add proper permissions to www-data (used for apache & php) + ``` + sudo chown -R www-data:www-data /var/www/html/upload + sudo chmod -R 775 /var/www/html/upload ``` ### Create application directory at webroot (or configure app/site):