Horje
magento 2 version file permissions Code Example
magento 2 version file permissions
cd /var/www/html/<magento install directory>
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
chown -R :www-data . # Ubuntu
chmod u+x bin/magento
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento c:f
magento 2 file permissions
find . -type f -exec chmod 664 {} \;
find . -type d -exec chmod 775 {} \;
find var pub/static pub/media  generated/ app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \;




Shell

Related
spigot start.bat Code Example spigot start.bat Code Example
hello world powershell Code Example hello world powershell Code Example
how to open xampp control panel in ubuntu Code Example how to open xampp control panel in ubuntu Code Example
display nginx logs Code Example display nginx logs Code Example
git list config Code Example git list config Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
16