Questions tagged [permissions]

This tag is ambigouos. Use "file-permissions" for questions about permissions on the file system and "acl" (Access Control List) for permission management in the Magento admin panel

Filter by
Sorted by
Tagged with
0
votes
3answers
1k views

Uncaught RuntimeException: Can't create directory

Environment: Magento2 2.2.5 / PHP 7.0.28 Fatal error: Uncaught RuntimeException: Can't create directory /opt/lampp/htdocs/Procfit-Institucional/generated/code/Magento/Framework/App/...
0
votes
0answers
13 views

Problem with menu and permission for module

Why my module is not displayed in system->permissions->roles example adminhtml.xml one of the modules (module purchasemanagement) I need them to appear in permission too Maybe I didn’t do ...
0
votes
3answers
30 views

Mageplaza cloud master error [closed]

After installing Mageplaza Extension via Composer in Magento from https://www.mageplaza.com/install-magento-2-extension/#solution-2-install-via-composer Magento is not working after this ...
0
votes
2answers
625 views

Magento 2.1.6 - cronjob only working if i run commands not by schedule

I have gone through many pages regarding setting up cron correctly, whilst magento passed the readiness check on an extension install for cron, it still does not seem to run unless i run this command: ...
1
vote
2answers
662 views

Sorry, you need permissions to view this content

I have created a admin user by below command. php bin/magento admin:user:create --admin-user="admin1" --admin-password="admin@123" --admin-email="admin1@gmail.com" --admin-firstname="fname" --admin-...
1
vote
2answers
1k views

Unable to delete Magento 2.0.7 image cache

When I try to Flush catalog images cache I get the following error The file /home/shaffersuiting/public_html/project/pub/media/catalog/product/cache/1/swatch_image/30x20/...
2
votes
1answer
18 views

can't run setup:di:compiler

I can't run setup:di:compiler, the error are: Class Magento\Checkout\Model\DefaultConfigProvider\Interceptor generation error: The requested class did not g enerate properly, because the '...
0
votes
3answers
145 views

Warning: is_readable(): open_basedir restriction in effect

since the last update of magento 1.9.4.1 i see a bug : Warning: is_readable(): open_basedir restriction in effect. File(/opt/php-7.2/lib/php//var/www/clients/client1/web1/web/magento_dev/var/log/...
3
votes
0answers
47 views

Magento hangs when i click install, using wamp server

I'm trying to install Magento version 2.3.2 on a wamp server, Apache version is 2.4.39 PHP 7.1.29 MySQL 5.7.26 when i reach the install button after filling all my details it freezes on 0% and the ...
2
votes
1answer
34 views

How to restrict user account based on website?

How to restrict user account based on website? How to create website wise user account in magento 1.9.2.3?
3
votes
0answers
19 views

Hide admin sub menus menus via acl

I am looking to disable menus for certain users present within Stores->Configuration->sales->Checkout Totals Sort Order . I have added their values in acl.xml But it does not work. How to disable or ...
0
votes
3answers
3k views

Install issue permission and htaccess

I'm trying to install Magento 2. I run this for permission file and folder chown -R admin:www-data /var/www/magento2 find /var/www/magento2 -type f -print0 | xargs -r0 chmod 640 find /var/www/...
0
votes
2answers
3k views

Warning: imagejpeg 'Failed to open stream' on product update Magento 2

When attempting to save a product (transferred originally from Mage 1 database) in Magento 2 I am receiving the following error. Warning: imagejpeg(/var/www/html/pub/media/catalog/product/cache/1/...
1
vote
2answers
33 views

Set the correct magento permissions

What are the correct Magento permissions and how can one set them correctly?
1
vote
5answers
869 views

Magento 2.1 pub/static permission

i have some trouble when i run command php bin\magento setup:static-content:deploy it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and ...
0
votes
2answers
63 views

Permission issue after clone the project Magento2.3.1

I am facing an issue after cloning my project from bitbucket repo on a different server that is having Centos 7. Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/var/...
2
votes
1answer
744 views

Role based hide lifetime sales from dashboard

When you log into the Magento admin dashboard it shows the lifetime sales. We want to restrict that block to only show for the admin not for the other employees. Of course, we could just remove the ...
3
votes
2answers
777 views

Shipping Templates Zend PDF Generator Permissions Denied

When I try to create a shipping label in Magento Commmunity Edition 1.9, I'm facing a permissions error in system.log: Warning: imagepng(/var/folders/f3/pd3xtxvd0y390_qjv7pryv6m0000gn/T/...
0
votes
4answers
2k views

Magento 2 Permissions Problem

Can someone please advise me on the following problem Here is a link to a video showing what is happening https://vimeo.com/228143296 I strongly believe this is a permissions problem In video clip ...
2
votes
5answers
3k views

Magento 2: Permission issue with generated directory

I'm having issues installing a theme due to the 'generated' directory not generating all of the files that need to be generated after I run command: php bin/magento setup:upgrade Which I think is ...
0
votes
0answers
50 views

products disappear from category page or search result, index error cluster_block_exception

Products sometimes disappear from the category pages in the frontend. It might be after reindex, or clear cache. If i go to magento admin panel->catalog-> and highlight the category, make some changes,...
56
votes
12answers
133k views

Magento 2 folder/file permissions

I suspect that the permissions might have gotten messed up on my Magento 2 installation. On the old versions I would run the following command to make folders 755 and files 644: find . -type f -exec ...
0
votes
0answers
31 views

Magento 2 installation in GoDaddy shared hosting

Just installed Magento in my GoDaddy shared hosting and getting this error: Can't create directory /home/xxx/public_html/xxx.com/ecommerce/generated/code/Magento/Catalog/Controller/Adminhtml/...
0
votes
1answer
106 views

Magento 2 - Command returned non-zero exit code: when try to change to production mode

when i run php bin/magento deploy:mode:set production or php -d memory_limit=768M bin/magento deploy:mode:set production I received the following error, how can i fix it? Config "dev/debug/...
2
votes
0answers
34 views

www.domain.com/pub/ shows the web page without css/javascript loaded

I can access my site correctly like www.domain.com ( with all the content loads correctly), but if I type in www.domain.com/pub/ it is still accessible ( without js & css loaded). How do I fix ...
4
votes
3answers
640 views

Magento 2: 403 error after issuing setup:upgrade command

I have set 777 permissions for pub/ and var/ directories. I have run php bin/magento setup:upgrade. A 403 error is displayed when accessing any page on the website with the following message: ...
0
votes
1answer
1k views

magento htaccess allow access specific folder

I want to access a folder in root directory in Magento like example.com/foldername but i got a blank page. So my question: how i can allow access specific folder in root directory in Magento using ...
1
vote
0answers
31 views

Magento 2 - Add permission to add specific product (Simple Product OR … )

On add product, there's a list of typical products, like a simple product, virtual product ... etc But, I want to give a list of permission to the user, to add a specific products for example: ...
1
vote
2answers
3k views

Magento 2: Backup failed, Error received from server

I try to install an extension and can't continue because my backup failed: Backup failed Error received from server: I setup file permission like this for shared hosting but it didn't help: http://...
0
votes
1answer
32 views

Frontend not working permission issue Magento 2

I get the following error report when attempting to go to the frontend of my Magento 2 website. {"0":"Warning: SessionHandler::read(): open(\/var\/lib\/php\/sessions\/sess_9am6mqijeelnptduc1lku9qhi3, ...
0
votes
0answers
26 views

Magento2.2 change admin user roles cant login

I have problem when change roles, all account of that roles can't access admin. Step 1. User 1 will login as "CM" roles Step 2. User 2 will update the resources available to role "CM" Step 3. User 1 ...
0
votes
2answers
534 views

Magento 2.0.2 Product image upload error

I got an error like error":"Unable to create directory '/var/www/html/pub/media/tmp/catalog/product'.","errorcode" :0 While upload product images. I put 777 permission /var/www/html/pub/...
0
votes
0answers
144 views

Magento 2.3.1 get HTTP error 500 after theme install

[CentOS 7.6.1810 / Apache 2.4.6 / PHP 7.1.28 / Magento 2.3.1] I have installed porto theme.But can't access product page. Contents of error_log [Thu Apr 25 18:10:10.335721 2019] [php7:error] [pid ...
1
vote
2answers
61 views

404 after running setup:di:compile, need to always run chown -R root:www-data . afterwards

I have noticed that from time to time my Magento installation shows 404 on all pages. Panic! After doing some research I found out that running: chown -R root:www-data . in the document folder solved ...
2
votes
0answers
83 views

How to run external script outside of magento 2 root directory?

I have made a few external php scripts to update quantity and tracking numbers,etc Right now, i'm putting them in magento root and set the permission to 640. However, it's still accessible by the ...
1
vote
1answer
1k views

Magento users/permissions web server & group

So a prior question led me to this, I am trying to use Magento2, (very frustrating) I have a VPS, with all the proper things for Magento2 to run. I can install it but have huge permissions issues, ...
2
votes
1answer
103 views

How to setup permissions for Bitnami Virtual Machine and PhpStorm?

I downloaded Bitnami's Magento VM (OVA, using it in vmware on windows). It is a Debian 9 (Debian GNU/Linux 9.8 (stretch)) with Apache/2.4.39 (Unix), PHP 7.1.27. By default, it is configured to serve ...
2
votes
1answer
150 views

Magento 2 : Error 500 after installing

[Ubuntu 18.04 / Apache 2.4 / PHP 7.2.17 / Magento 2.3.1] After successful installing, magento show blank page. I found following error in apache error.log: [php7:error] [pid 29252] [client 127.0.0....
7
votes
4answers
12k views

The directory is not writable by server. Magento 1.9 on XAMPP

When I added an image above error display. How to change permission to add image for all ?
1
vote
1answer
174 views

Magento 2 styling issues after switch from default to production mode

I thought I should switch to production mode from default mode as I got closer to launching my site. As soon as I did that, the formatting of my front-end and admin section got really messed up. The ...
1
vote
0answers
52 views

Magento 2 how to set permission in production mode

I have successfully completed all issues in developer mode, and now I moved to production mode, every thing is working fine but when I am try to cache clear from admin panel , frontend permission are ...
2
votes
0answers
47 views

Permission issue when installing with nginx

I have installed different Magento sites using nginx. I have 5 sites, 4 of them use php7.1 and there's one that uses php7.0. I have created two different sites-availaible: And both of them have ...
3
votes
3answers
5k views

Magento2 throws 500 internal server error

I installed Magento2.2. After installing when I visit the site, it shows 500 Internal Server Error The same for admin section as well. I removed my .htaccess from root folder and tried. This ...
1
vote
1answer
36 views

User role not working M2 Enterprse

My website has many store view like french,uk,german. I have created user for all the store view and assign resources to them. But when I login in admin panel with german user, I can see all the ...
7
votes
7answers
47k views

How to set proper permissions for Magento on server?

I'm getting lot of issues with permissions. In magento admin panel: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the ...
3
votes
1answer
2k views

I am getting error of page_cache is not writable in magento 2.2.5 in linux os

I am trying to add a grid in admin side. I am getting this error Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/opt/lampp/htdocs/magento2.2.5/var/page_cache" is not writable in /opt/lampp/...
0
votes
1answer
25 views

Magento 1 Cache folder is not accessible when using shell command

I'm having a problem with getting a shell command to clear a specific product cache because the permissions in the cache folder are strictly restricted to www-data. For example, folder /var/cache/mage-...
0
votes
0answers
19 views

Security steps and permission to have for Magento2

I did penetration testing, I got some duplicate theme files in my pub/static/theme, On deleting them something wrong happened with my lib/web the entire folder got empty. Still dont know how this ...
2
votes
1answer
20 views

Cant access setup(or any files) of magento2 in browser

Installed lamp on centos 7. Moved files to /var/www/html/ When I chmod 655 magento directory I can see apache welcome screen, but when i try IP_addr/index.php gives: "You don't have permission to ...
1
vote
2answers
576 views

Cant access images in /pub/media/customer

I have added custom attribute for profile image upload. Now when i access customer image on front end it shows 404 error and donot access images in this folder /pub/media/customer .