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
1
vote
2answers
19 views

Any Drawback on running setup:upgrade, di:compile, static deploy everytime code level edit on Magento 2

Is it ok to run the following set of commands by default everytime I make a code level edit (layout edits, module creation, extension update) php bin/magento setup:upgrade php bin/magento setup:di:...
0
votes
0answers
13 views

User Access permission

I am developing a Store in Magento 2. I created an Admin Account at the time of installation of Magento 2. Later I tried to create another User (Who can only Use the help desk) from Admin Panel. The ...
0
votes
2answers
31 views

Magento2 - Running di:compile stops at 57% in magento 2.3.2

Class Magento\Framework\Mail\EmailMessageInterfaceFactory does not exist Class Vendor\Extension\Model\Mail\TransportBuilder\Interceptor generation error: The requested class did not generate ...
0
votes
2answers
22 views

Site load without css after Migrating from one server to another

After migrating my magento site from one server to another, I encounter the following problem: the site loads, but without styles (css), it is as if it could not access the file. here are the ...
0
votes
0answers
13 views

Magento 2.3.3 admin panel unresponsive

My site has an admin panel located at http://domain.com/admin When trying to log in I get the following error in the exception log: [2020-06-10 20:08:13] main.CRITICAL: The stream or file "/var/www/...
0
votes
1answer
28 views

Magento /pub/static is not writable - Permissions error

So I'm fairly new to Magento, in fact, it's my first time messing with Linux permissions. I've been asked to change a few things on a website, and I can't even pass through the permissions part. I ...
0
votes
2answers
20 views

Magneto 2 setup - incorrect permissions

After install magento 2.3.5-p1 i got exception on setup page (in web setup). PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
0
votes
1answer
23 views

Add to cart functionality is not working for any product

my add to cart not working, its showing nothing in cart for 2 stores and for 1 store adding a default product everytime, doesn't matter which product we added, its showing this exception.... We can't ...
0
votes
0answers
41 views

No CSS or JS in Magento 2.3.3 on Virtualbox/Vagrant in Windows 7 Host - Text File Busy

I have a Magento 2.3.3-p1 installed in VirtualBox/Vagrant guest on a Windows 7 host. The server setup is running Ubuntu 19.10 with Apache2, PHP 7.3 MYSQL, etc. Despite all my efforts I can only get ...
0
votes
0answers
56 views

Magento 2: permissions keep resetting after running cli commands

I have Magento 2.3.4 installed on a test server with Ubuntu 18.04 + nginx + php7.2. The website displays fine, until I run cli commands (e.g. setup:upgrade, setup:di:compile) that result in newly ...
-1
votes
1answer
27 views

what are the proper chmod settings for the Media folder?

Magento 1.9.x We were troubleshooting something and changed the permissions on the Media folder. What are the proper chmod permissions on Media, var and the log (in var) folder?
0
votes
2answers
23 views

I'm going crazy with the folder permissions! in magento 2

hello guys in my case when I want to run any command like 'bin/magento setup:upgrade && bin/magento cache:clean && bin/magento cache:flush ' or bin/magento setup:di:upgrade , it always ...
0
votes
1answer
26 views

chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/ SAFE?

to fix an issue in Magento I found this solution here on Stackexchange: I used this command line in Putty: So after that I could fix the issue.
0
votes
1answer
34 views

Permission on OpenLiteSpeed Server localhost with Magento 2

I'm using CentOS 8 as my OS on my laptop and currently running OpenLiteServer (lsphp73) and have been successfully installed phpmyadmin and magento 2.3.4. Then, it comes with a problem that everytime ...
1
vote
0answers
27 views

Change Action from Edit to View for product in magento 2 admin panel

I have different users with different user roles. I want to change the Edit option to View only for the users who have not added this product. see attach image How can I do that? Allowing Edit ...
0
votes
2answers
31 views

How can I use ssh command using php script as root user?

I am working third party integration for which new files generating automatically when my code is running. But it required permission after creating the file. I want to give the permission as a ...
0
votes
1answer
65 views

Permanent solution for magento 2 permission issue after cache flush

Whenever i flush cache i have to give permission to the folder. what is the permanent solution for this issue.
0
votes
0answers
17 views

Error After Installing Website in magento 2 js

I just installed magento 2 and I come across a bug that won't let me get lost on my admin page i use : Nginx Php7.2 Varnish 4 and Percona Server on Debian 9 I believe the problem is in the ...
1
vote
1answer
38 views

Magento 1.9 - User Roles Permission return Fatal error

If i click System -> Permission -> Roles if i click any of roles return following error, Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line ...
2
votes
0answers
55 views

How do I execute Magento 2 CLI commands using a custom script?

I had created a custom script which update my database. After completion of database update, I want to execute the Magento CLI commands by adding custom functions in my custom script. The script ...
1
vote
0answers
16 views

Root taking ownership of generated files. Plesk CP

I hope someone here can offer me some guidence. I have recently switched all my accounts from cPanel / WHM to Plesk and part of this was an active development of a Magento 2.3.2 site. Since moving ...
0
votes
1answer
153 views

Magento 1 ACL - access denied even though user has ALL rights (not admin rights)

I added a new user which has ALL rights. However, he can't open the site in admin under Catalog -> Manage Attachments. URL: /fileuploader/adminhtml_fileuploader/index/key/ I already logged the ...
0
votes
1answer
55 views

Magento2 - Cron readiness check failure

Cron is not working properly showing error in /var/www/domain.com/var/log/update.log [2019-09-25 07:07:02] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /var/www/...
0
votes
0answers
30 views

Magento 1.9 : Admin How to check a user has a particular permission?

How we check an admin user has a particular permission. Am not talking about the logged-in admin user. If we have an array of user-ids For example: $users I need to do the following: foreach($users ...
0
votes
0answers
53 views

Magento 1.9 : How can I add a button in admin role edit form?

I need a custom functionality "Duplicate Role" in Admin > System > Permissions > Roles > Edit. How can I add an extra button in this form? Any help will be appreciated. Thanks in advance.
0
votes
0answers
11 views

Magento 1 : Is it possible restrict admin user view only selected store details by using observer or anything?

How can i restrict admin user view only selected store details by using observer or anything?
2
votes
1answer
291 views

Magento 2.3.2 : Site is down every time I install a new extension

Whenever I upload a new extension to my app/code folder, the site goes systematically down. I upload it using the magento user so there is no owner issue. I am in production mode. More specifically ...
0
votes
0answers
99 views

Running Magento 2 in a Docker container - problem with permissions on setup:upgrade, files generated as root despite setting the user via sudo

I'm having a problem with my Magento2 & Docker setup. It's basically the same issue as outlined in this question: Magento 2: How to fix incorrect permissions after executing setup:upgrade and/or ...
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 ...
2
votes
1answer
26 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 '...
3
votes
0answers
117 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
50 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
40 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 ...
1
vote
2answers
84 views

Set the correct magento permissions

What are the correct Magento permissions and how can one set them correctly?
0
votes
2answers
353 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
544 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,...
0
votes
0answers
114 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/...
1
vote
1answer
395 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
33 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
42 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
38 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
96 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 ...
1
vote
2answers
135 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
237 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
468 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
300 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 ...
0
votes
3answers
273 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
315 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
40 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
27 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-...

1
2 3 4 5 6