I am trying to install a Magento 2 in Linux Mint 19. I am facing issue in file permission.
Asked
Active
Viewed 4,067 times
0
abu abu
- 744
- 3
- 15
- 38
-
1Possible duplicate of Magento 2 folder/file permissions – MagenX Oct 09 '18 at 14:25
-
Thanks @MagenX for your reply. I followed that question. I executed commands. But I cant see output in Browser. – abu abu Oct 10 '18 at 03:19
1 Answers
1
The issue is with permission with var and generation folder.
Use the below command
chmod -R 777 var generated
Then run your setup:upgrade command.
Sourabh Kumar Sharma
- 963
- 7
- 19
-
You solution is not working. I am getting same error. https://i.stack.imgur.com/cKJMr.png – abu abu Oct 09 '18 at 11:23
-
Seems the permission issue is with whole magento 2 code base. Please give the permission to the project root folder, replace 777 with your exact permission as per your server settings. – Sourabh Kumar Sharma Oct 09 '18 at 11:25
-
-
-
This solution is not giving error. But I am getting error `Forbidden
You don't have permission to access /magento2/ on this server.` in browser while trying to browse magento2 folder.
– abu abu Oct 09 '18 at 11:32 -
You will have to execute the above command with sudo that is super user permission as: sudo chmod -R 644 . – Sourabh Kumar Sharma Oct 09 '18 at 11:33
-
I used like this
foysal@foysal:/var/www/html$ sudo chmod -R 644 /var/www/html/magento2/– abu abu Oct 09 '18 at 11:35 -
1No go to your project folder and then execute the above command. – Sourabh Kumar Sharma Oct 09 '18 at 11:46
-
1

