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
1answer
1k views

Magento: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

I have Configured Magento With Valid Credentials. But, it shows SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) . I have Cleared Cache(Deleted var Folder). Cross ...
0
votes
4answers
3k 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 ...
1
vote
2answers
3k views

failed to open stream: Permission denied on magento

I want to add a new module for export attributes in magento, so this is the module. When I upload this module, I have this error in my system.log and I don't understand why it speaks to me of ...
2
votes
2answers
6k views

Magento2 admin logo showing 403 Forbidden error

I have installed magento2.1 and all works fine except admin logo, it is showing as broken and in console it is showing 403 error . Forbidden You don't have permission to access /pub/static/adminhtml/...
2
votes
3answers
11k views

Trying to install magento 2 and get page_cache is not writable

I'm trying to deploy magento 2.1.3 installed with composer on a CentOS 7 machine with apache 2.4 and it returns the error: [Mon Jul 03 17:15:55.678068 2017] [:error] [pid 16315] [client 211.159.221....
2
votes
2answers
547 views

Magento 2 - Session based authentication doesn't work

I don't know if this is a bug in Magento 2 API or not, so I didn't post it on Magento 2 Github issues. According to this link: http://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-...
0
votes
1answer
94 views

Adding a custom theme for design changes

I am completely new to Magento and am having some trouble moving around in the files. I installed the Magento 2.1.7 CE with sample data. We had a company migrate all products and information from a ...
6
votes
2answers
2k views

Permission change after setup:upgrade

For some reason every time I compile or setup:upgrade the file permissions on my server change and my site's layout is affected. Does anyone know what can be causing this?
0
votes
1answer
272 views

Magento connect manager page just shows “Permission denied for write to” (Magento 1.5.1.0)

One of our client wanted to upgrade existing Magento website which is Magento 1.5.1.0. I was able to setup the website in our local environment successfully but when I try to navigate to the "Magento ...
0
votes
1answer
26 views

Change Exception Permissions

Magento is writing exceptions to var/reports with 0640 permissions, owned by "nobody". My user can't access them. How can I change this?
0
votes
1answer
3k views

Failed to load resource: the server responded with a status of 403 (Forbidden)

I'm trying to install a module and I'm getting the following error when I navigate to the page to load it. As you can see it is saying 403 error Everything I have seen says that it is a permissions ...
1
vote
1answer
484 views

Magento 2.1.6 - File permissions keep resetting some to none

So i run the necessary permission commands for my Magento installation, i then notice the permissions change by them self and some folders all of a sudden have no permissions set, for example in the /...
0
votes
2answers
678 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: ...
0
votes
1answer
214 views

Magento 2.1.6 - Component Update update/index.php server error

When trying to install a component in magento 2.1.6 every check passes, backup completes and when i go to press the install button i get directed straight to a 500 internal server error page. I have ...
5
votes
1answer
2k views

Magento 2 : User Role and Permission Issue (ACL Issue)

In my magento2, I have created one user role with custom permission in which I give permission only for "Shipping Methods" to user. When I login with this user, it also show me other custom extension ...
0
votes
1answer
764 views

Magento 2.1.6 - update cron.php permission denied

Running Magento 2.1.6 and after going through many other problems this I hope is the last one. When I attempt to run //update/cron.php in ssh I get permission denied, this don't natter if I am using ...
0
votes
1answer
222 views

Permissions on /var and /var/log

I set all the permissions and recommended by the documentation. However, anyone can still see the log files from the browser since the var/log folder has read permission. How is that handled ? by ....
0
votes
1answer
6k views

Magento 2 Installation on root directory

Why do we have to install Magento 2 in Magento2 folder. Cannot we install Magento on root. How should i work on the ownership of Magento, if i install Magento 2 on root directory. PS: If i install my ...
0
votes
1answer
411 views

Magento 2 Community Edition Installation Issue - General error: 1025 Error on rename (errno: 13 “Permission denied”)

[ERROR] exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1025 Error on rename of '.\magento12#sql-29a8_39' to '.\magento12\catalog_product_entity_media_gallery_value' (errno: 13 "...
0
votes
1answer
85 views

Adding the Order Statuses to the Magento Permission Rules

How to add the order statuses to the permission rules in order to be able to assign a particular order status of a state to a user where he/she is able to change the status for an order only if the ...
0
votes
1answer
39 views

Magento permissions

I've just managed to get the localhost version of a website I'm working on, onto our live server. I'm having issues when it comes to permissions and who should own what etc. When visiting the ...
0
votes
1answer
2k views

Magento 2 File and folder permissions

I would want to know which permissions i must set in the Magento2 setup and after the install. Special mention in var/generations, that at the end i must put it in 777 or I'll never can install it.
0
votes
1answer
1k views

Permissions: Apache user: www-data and my own magento user: magento added to same group but not working

I am running apache as www-data in group www-data I create a magento file system user: magento and assigned it to a new group - web I then also added www-data user to web. Assigned permissions per ...
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/...
2
votes
1answer
1k views

Magento 2.1- ACL Permissions not Working

I have created a user and given all the required roles to access the module. When we logged in with that particular user , we are able to see the module and module items but when we click on any item ...
1
vote
1answer
2k views

Magento setup directory cannot be accessed

I am trying to setup Magento on a Apache MacOS local system. I have uploaded the Magento Community Edition 2.0.12 from the official download source, unzipped them in my ~/myusername/Sites/magento ...
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 ...
0
votes
1answer
71 views

Product attributes not loading in home page. Maybe Permissions? I really don't know

I was trying to reboot the index with the shell/indexer.php script (because my new categories are not displaying on my megamenu) and after using this script my products are not showing some custom ...
1
vote
2answers
980 views

Can't install Magento 2 due to permissions issue

I am stuck in the installation of new copy of Magento 2.1.3. I downloaded tar.bz2 archive from the site into the apache root folder of my CentOS 7 machine. I extracted it with the command tar jxf ...
0
votes
1answer
219 views

Magento : High resolution product image are not displaying on product detail page

Some product image are not showing on product page. It works fine with low resolution. I don't know what is problem. I have set media folder permission, as well as resize and setQuality function also ...
1
vote
0answers
138 views

403 Permission Denied when exporting subscriber list

I am getting permission denied when attempting to export a csv list of subscribers. XML works fine. I am guessing there is a file that needs permissions updated. I just can't find it. Thanks.!
3
votes
2answers
10k views

Getting “Command line user does not have read and write permissions on var/generation directory” when trying to access php bin/magento

Trying to get a basic grasp of ssh and cli on Magento 2.1 to "easily" install themes and extensions, but I'm dead in the water from the get go. I have a working version of 2.1 running on a VPS. Ran ...
4
votes
3answers
6k views

Difference between Refresh All Cache , Flush Magento Cache and Flush Cache Storage

We are seeing this options from Magento1, but we are not clear what types of cache will be flushed from the system/magento. What needs needs to cleaned or run at what time. In magento 2 we refresh ...
0
votes
2answers
658 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/...
1
vote
0answers
53 views

How do I add the catalog/navigation block or am I just lost?

I am working on Magento 1.9.2.4 using a Porto theme. I am trying to get my sub category listing block working so it shows the sub category on the parent category page. The links are showing and ...
2
votes
1answer
208 views

Magento 2 module file permissions and php file creation functions?

What permissions(rights) should Magento 2 module files/dir have in production environment? Can I use php functions that creates a file inside a module directory (fwrite)? I am considering writing db ...
0
votes
1answer
2k views

Magento 2 Development permissions issue

I'm currently developing a Magento 2 site, but I'm having quite a lot of issues with permissions/ownership. I'm running Magento on a VPS, and I have followed Magentos official documentation for ...
5
votes
1answer
514 views

Magento 2: What is diffrence between _isAllowed & _isAllowedAction?

We have below methods. It generally used for User Role wise Module Permission, as per set. In Controller: _isAllowed In Block: _isAllowedAction At which stage & when this method is ...
1
vote
1answer
142 views

Messed up permissions - Magento2.1

My permissions in Magento2.1 seem to be really messed up and I cant find an easy way to set them correct.. Currently the "www-data" user is owner of the "magento2 root folder". I have a second user "...
0
votes
1answer
348 views

Certain Magento Pages returning HTTP Error 500

Undergoing a Server Migration and Magento has been an issue. The page works just fine but every time that someone clicks on "Check out with PayPal", "PayPal Credit", or "Checkout with other options", ...
0
votes
1answer
385 views

Magento can't open a file outside its base dir with fopen

For some reason to me unknown, Magento doesn't want to open file for writing with: $fp = fopen("/Users/vlado/Desktop/f.txt", 'a+'); , apparently because it is outside of the Magento base directory. ...
2
votes
1answer
908 views

invoice pdf not generate in magento 2

I have install magento 2.0.7 in digital ocean droplet. When i print any invoice give a error "This site can’t be reached". If i generate pdf from drop down "pdf Invoices" on Invoices listing ...
1
vote
1answer
42 views

Cannot use new installed theme

I have uploaded my theme using SFTP, and extracted the .tar.gz into the magento install directory (/var/www/html/). The Magento 1.9 docs state to run the following commands upon install within the ...
1
vote
1answer
432 views

Magento 2 : How be able to export csv from admin as nonadministrator?

If you logged in as nonadministrator and try to export any CSV from grid level it will show access denied this issue is not there in 2.1.0 onwards but exists in 2.0.8 and below How to fix it?
1
vote
2answers
1k views

User with custom role cannot access custom menu item in Magento 2 admin interface

I want to give permission to admin user for a custom module, before creating a acl.xml the module name was not coming in list, after acl.xml its coming but admin user is not able to see in his menu. ...
8
votes
5answers
36k views

Magento 2 - Fatal Error “Can't create directory” var/generation/Magento/

I am experiencing a "There was a problem processing your request" after a failed mode change. I need some help. Here's the log output: a:4:{i:0;s:128:"Can't create directory var/generation/Magento/...
2
votes
1answer
992 views

Magento 2: New theme saving issue on Admin WAMP

In continue with Magento 2: How to override Luma Theme Home Page I'm getting error Cannot read contents from file "D:/wamp/www/magento2/" Warning!file_get_contents(D:/wamp/www/magento2/): ...
2
votes
5answers
374 views

Unable to open front end and admin [duplicate]

When i try to open my site it is not opening, same as my back end as i added the error below. Adminpanel issue in site.
3
votes
1answer
5k views

Custom module role permission. How to add acl

I need to be able to control my custom module's role permission and I can see I have to add acl in my XML. I have tried to add it in config.xml and also made an adminhtml.xml in the same location. ...
0
votes
1answer
180 views

Permissions not being picked up by setup wizard

In reference to this guide: http://devdocs.magento.com/guides/v2.1/install-gde/prereq/file-system-perms.html I have followed the guide to install Magento2 into a RHEL 7.2 server word-for-word, ...