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
56
votes
12answers
134k 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 ...
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 ...
21
votes
6answers
36k views

What permissions should I give /var and /media?

I understand that magento says to have /var and /media at 700 for folders and 600 for files but when I do this, it breaks certain parts of my site. I am curious to see what permissions most people use ...
18
votes
13answers
30k views

Missing write permissions in directory pub/static when run bin/magento setup:upgrade

The day before, I updated a new module and it was working normally. Now, when I run bin/magento setup:upgrade, I receive the below Exception. I tried setting permissions to 777 (or 770) for the pub ...
5
votes
6answers
21k views

Client denied by server configuration /app/etc/config.php

I just installed Magento 2 on HostGator with Linux+Cpanel. Everything seems to work fine, however, any change I do on the Configuration it keeps loading and loading and never applies. I checked the ...
4
votes
1answer
664 views

Magento 2 Permission Issues

During development of a magento 2 site I keep getting permission issues. When I move from modes I get "Cannot change permissions for path." Is there something else that I should be doing?
2
votes
0answers
89 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 ...
8
votes
2answers
33k views

File and folder permissions for Magento setup

From the Magento wiki I found the file and folder permissions to be set to: #for magento 1.5+ find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; chmod o+w var var/.htaccess ...
5
votes
2answers
4k views

Magento writing to tmp/magento directory

The site started throwing exceptions on both the front & backend. After disabling redis, memcached & the full page cache and reverting to using files for sessions, the site seems to function ...
2
votes
1answer
2k views

Huge Magento2 permissions issue

I'm really hoping someone can help me here. I started with a brand new VPS for Magento2, downloaded it, installed, ran the installer, all was great, except the page took like 5 minutes to load (admin ...
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
2answers
5k 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/...
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 ...
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/...
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 ...
2
votes
1answer
530 views

Files and Folders permission issue after I copied all files

I recently copied all files to other directory and it seems all files and folder permission changed so I run find . -type f -exec chmod 644 {} ; find . -type d -exec chmod 755 {} ; and I still got ...
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 ...
1
vote
1answer
412 views

Mage registry key “RID” already exists

This is on an (almost) fresh Magento EE 1.13.02 installation. I have only one custom module, which I disabled, however the error still occurs. The issue happens in System -> Permissions -> Roles -> ...
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
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 "...
1
vote
2answers
599 views

Restrict Payment Types by Admin Role or Customer group or rather by store?

I am trying to create a salesrep system for a customers store. These salesreps have limited backend access and can create and edit customers and create orders for their customers as well as viewing ...
1
vote
1answer
1k views

403 error on WYSIWYG image previews

Whenever I open the WYSIWYG editor and try to add an image I get a bunnch of 403 errors in my chrome console and am unable to see the images. GET https://www.example.com/media/wysiwyg/.thumbs/wysiwyg/...
0
votes
1answer
670 views

Restrict Order Grid to Specific Status for User

How would I restrict access to only show completed orders in the admin for one user or role? This employee only needs to see new pending orders, and I don't want this employee to be able to look back ...
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
0answers
76 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
1answer
293 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
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 ...