Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
14 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
41 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/...
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: ...
2
votes
0answers
32 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 ...
0
votes
1answer
30 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
16 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
0answers
68 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
46 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
45 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 ...
2
votes
1answer
66 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....
2
votes
1answer
74 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
0answers
23 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 ...
1
vote
1answer
34 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 ...
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
18 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 ...
1
vote
0answers
49 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 ...
0
votes
1answer
154 views

Magento 2.3.0 - User roles and Permissions - module/extension installation issue

I'm running magento 2.3.0 on php 7.1 I have two users each with a different user role/permissions created Users | User Role | Role Resources (resource access) ----------|--------------|-------...
1
vote
2answers
206 views

(Pre-installation) ownership and permissions problems (CentOS / NGINX)

This is my first time installing Magento and I feel quite stupid getting stuck so early in the proces. I followed the official documentation to install Magento 2.3 by the book. Fresh CentOS 7 ...
0
votes
0answers
183 views

Magento 2.3 file permission

How to fix file permission, we don't want every time make command for sudo chmod -R -v 777 var Using Linux,centos7,cloud server.having 3 accounts. About file permission, sometime getting warning can'...
2
votes
1answer
19 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
1answer
80 views

Magento suddendly messed up design

i'm in big trouble. I was working on my Magento theme and suddendly something wrong with up my website. i'm using bootstrap but it's not loading my version but the one of a plugin i installed. if i ...
1
vote
2answers
458 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
0answers
15 views

File permission

Using Linux,centos7,cloud server.having 3 accouts. About file permission, sometime getting warning can't inside the website, need to refresh 2~3 times. How to fix file permission, we don't want every ...
0
votes
4answers
2k 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
42 views

Magento 1.9.3.8 problem with folders permission

I have magento installed in a cloud server and folder public_html/. Some days ago because the permissions of the files was a messed up I used Magento's instruction's to set permissions from the ...
0
votes
1answer
68 views

My extension links not showing on custom roles on admin

I have created a custom module. When I have created a demo user and select custom roles for that. My module not showing on the admin side. When I select all the rights it's showing but when I select ...
0
votes
1answer
29 views

Magento 2 permission issue

I installed Magento 2 via Composer and after I followed the steps and it was installed I received this on the frontend: Basically all URLs go to 404 (admin as well). I am using Ubuntu 18 and Apache ...
1
vote
2answers
32 views

mess up ownerships after cli action

so I am running a magento 2.2.4 in development and one in production, the dev is ok and I can do all, the production is an exact copy of it on apache 2.4 and Ubuntu 16.04, every time I use any kind of ...
0
votes
1answer
43 views

Programmaticaly use catalog permission based on user group

Is there a way to restrict catalog / product page based on user group (for example, if my user is in the group "A", he will see only product for the group "A") ? Ideally by avoiding paid extension if ...
0
votes
1answer
36 views

Magento 2 Custom module installation time create media directory

I want to create media directory with 777 recursive permission on custom module installation time, So I have created createDirectory function in InstallSchema. But currently directory is created with ...
1
vote
0answers
28 views

Magento 2.2.5 - Backups User Roles Permission

I'm using Magento 2.2.5. Steps to reproduce: System -> Permission -> User Roles Backups Sorry, you need permissions to view this content How to fix it?
2
votes
4answers
463 views

Changes in phtml not visible in the browser

When I change a .phtml it is not reflected in the browser until after approximately 24 hours. I've tried everything, run php bin/magento cache:flush, check the permissions of magento_user. I'm using ...
0
votes
0answers
10 views

Magento2 ACL Permission Groupwise

Can anyone have idea how to make ACL permission Groupwise? default magento provides ACL sectionwise in system.xml but is that possible to do with group? suppose i have 2 groups in one section in ...
0
votes
2answers
36 views

Magento 2.2.5 New Products and Blocks crashing

I am currently in the process of testing Magento 2.2.5 and am planning to move off PrestaShop to Magento but a few issues are preventing me to move: When I add a new product our "New Product" block ...
3
votes
1answer
1k 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
2answers
688 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
1answer
49 views

Can't Save Product Changes

I have been having some problems with my Magento 1.9.0 installation which seem to be related to access permissions mainly in the var and media directories. I have had the host reset the permissions to ...
0
votes
1answer
59 views

CSS/JS not loading - Permissions error?

I seem to have had a permissions error in var and specifically var/cache. Both were previously set to 755, which has not caused issues before. This morning my CSV files stopped being generated by ...
1
vote
0answers
22 views

Magento 2.2.5 Question about permissions - checkout infinite loop

Currently I am in developer mode and I think I am having a problem with permissions. I am only using a magento user to run magento tasks and never sudo/root. I have seen that the files that get ...
2
votes
1answer
26 views

Changing/deleting cache causes system crash?

this is not my first post about this issue, but i've finally found what could be the cause of my problems. It seems that deleting or "changing" my magento cache causes my site to crash. I've deleted ...
0
votes
0answers
95 views

Restrict the role permission to read only

I have built my Magento store with the Magento - 1.9.X.X I am trying to create a role with just read-only permissions to all the modules in the admin end. The user should be able to view all the ...
1
vote
1answer
289 views

Magento 2 User Permission Denied for Admin user

I was creating user roles & permission as an admin in Magento 2, then I mistakenly denied myself permission to add roles and permission. Now It's showing "Access denied". I can't add or change my ...
4
votes
3answers
466 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
0answers
146 views

Install issue and .htaccess

I have diligently followed the instructions at https://devdocs.magento.com/guides/v2.2/install-gde/prereq/apache.html but when I load the setup I get the dreaded: "You don't have permission to ...
0
votes
0answers
72 views

Magento 2 - change user in Ubuntu

My previous directory is this pratyush@pratyush-To-be-filled-by-O-E-M:~$ but when I run sudo -i for removing xampp then it's showing this root@pratyush-To-be-filled-by-O-E-M:~# How can I move ...
0
votes
0answers
35 views

Magento2 store permission errors

When I try to access my Magento2 store I am getting those errors I think it's a problem with file permissions but I don't know how to fix it. Also, I can't even access the control panel of my page. ...
3
votes
0answers
178 views

Production mode won't geneate files inside var/view_processed folder

When I open the frontend and backend I always got an error like this: "Warning: include(/var/www/test.com/var/view_preprocessed/html/vendor/magento/module-theme/view/base/templates/root.phtml): ...
0
votes
1answer
610 views

Installing Magento 2.2.4 on windows localhost using xampp

I am trying to install Magento 2.2.4 on windows localhost using XAMPP. My XAMPP is installed I C:\xampp7.1 To use command line I using Command prompt in C:\xampp7.1\php> And the following ...
1
vote
0answers
61 views

How can a role user see only own products not other users in Magento 2?

I am troubling with user roles in Magento 2. When I am trying to assign product permission to a user who can see only own products but all products displaying to him. How can I set a role in which ...
2
votes
1answer
111 views

How to put ACL on customer grid's export to CSV, based on roles?

Trying to put ACL on customer Grid's export to CSV functionality based on user role. Add following fode in my module's adminhtml.xml file acl section <config> <acl> <...