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
80 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
34 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
938 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
1k 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
68 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
804 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
202 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
132 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
8k 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
4k 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
535 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
51 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
194 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
381 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
123 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
294 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
330 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
734 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
40 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
373 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
915 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. ...
7
votes
5answers
32k 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
875 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
358 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
4k 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
169 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, ...
7
votes
5answers
21k views

Magento installation: Getting Fatal error

I am facing a issue while trying to install magento. I am getting the following errors. Plz can any one help me...! OS: Ubuntu 16.0.4 apache: 2.4.18 php: 7.0.8 mariaDB: 10.1.16 Fatal error: Uncaught ...
1
vote
1answer
270 views

Magento 2: How to set module wise login permission access? [duplicate]

I have below files \app\code\Custom\Module\Controller\MyModule\NewAction.php \app\code\Custom\Module\Controller\MyModule\Edit.php \app\code\Custom\Module\Controller\MyModule\Form.php I would like to ...
0
votes
1answer
85 views

How setting permissions of magento?

I have some doubs for setting the permissions of magento when the web site go to online Always i setting file and directory 755. It's correct? thanks Alessandro
0
votes
1answer
377 views

How to set up a user instead of using root Magento 2

I'm using root user to do everything which is throwing up problems. I know this is not the right way to do things. How do I set up a new user and set permissions?
3
votes
2answers
555 views

Keep having to set permissions Magento 2

I keep having to enter permission commands every time a i do a grunt clean and exec. I'm constantly getting a white page with errors, either Class doesn't exist, can't create directory or permission ...
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://...
5
votes
2answers
2k views

How to set write permission to folder in magento 2 in windows?

I want set write permission to folder pub/static in magento 2 in windows localhost. can anyone help me how to set write permission to folder usig CLI.
5
votes
1answer
1k views

How are Permissions set on Cache Files in Magento 2.1

I'm working with Magento 2.1. I have a magento_umask file that contains the following #File: magento_umask 000 That's a mask of 000, which should give users, groups, and all-users/world write ...
0
votes
1answer
812 views

Remove Delete product functionality for a specific user role

How to remove delete product functionality for a specific user role? ( The user should only have access to edit the products. ) In default magento community edition i cannot achieve this. Which code ...
3
votes
5answers
3k views

Magento2 Missing write permissions to the following directories: 'site/public_html/pub/static'

unfortunately i get this error when I try to do a magento2 setup upgrade arredeom@chronos [~]# php public_html/bin/magento setup:upgrade Cache cleared successfully File system cleanup: /home/arredeom/...
0
votes
1answer
2k views

Magento 2 - How to set chown and chmod for root folder and sub folder in linux (centos 6.5) [duplicate]

In Magento 2, How to set chown and chmod for root folder and sub folder in linux. My OS system is the CentOS 6.5. please, guide me step by step. P/S: When use this command "find ./var -type d -exec ...
0
votes
1answer
86 views

Magento EE store permissions

according to Magento http://merch.docs.magento.com/ee/user_guide/store-operations/permissions.html In addition, you can further restrict Admin access to only a specific site, or set of sites and ...
0
votes
1answer
292 views

What is the Current Admin Password in Magento Enterprise

If I create a role, say "SAdmin" and give this role all the permissions as Magento Admin except permissions for Roles and Users - when Magento prompts for "Current Admin Password" when SAdmin is ...
1
vote
2answers
68 views

Can we apply no write permission on media folder in magento

Hello Guys i am using magento 1.8.1.0 version for the security point of view i want to put no write permission on media folder of magento.but it shows warning at the top of site. how to resolve this....
0
votes
2answers
2k views

Magento 2: Folder and file permissions

For some reason, I'm having issues with a fresh install of M2, though, things seem to sort themselves out if I update the file and folder permissions on the server. Unfortuntely, if I re-deploy the ...
2
votes
3answers
3k views

Block type not working

I cannot insert blocks in the CMS editor in the form {{block type="isfeatured/isfeatured" template="isfeatured/featureblock.phtml"}} The Magento version is 1.9.0.1 patched. The patched were applied ...
1
vote
0answers
56 views

Set default role permissions during Magento installation (magerun ?) [closed]

I have Magento installation script (running php install.php (...)) that reinstalls Magento. However - everytime when I reinstall Mage during the development - I have to set permissions for each role ...
2
votes
2answers
2k views

Access Denied (Permission Issue) after upgrade 2.0.3 -> 2.0.4

Upgraded via admin, on composer installed Magento 2, upgrade reports success. Even though logo and menu and styles show, my store front page only displays this message, instead of the usual frontpage ...
0
votes
1answer
60 views

Cache files being set by magento to 0600

I'm running magento 1.5 and in logs I see a lot of errors: var/cache/mage--5/mage---internal-metadatas---080_CONFIG_GLOBAL_CRONTAB): failed to open stream: Permission denied the permissions for ...