cancel
Showing results for 
Search instead for 
Did you mean: 

M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi there,

 

We recently update our DEV server from 2.4.3 to 2.4.3-p1.

After upgrade found the Media Gallery folder other than wysiwyg and catalog is not accessible.

 

I read the information in this link but we don't have any idea to solve it. 

https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/modify-image-library-permission...

 

Move file is not a good way because lot of page links to files in hidden folder.

May I know how to add the folder to the allow access list?

 

Thanks in advance.

 

Regards, kf

7 REPLIES 7

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hello @kf_luk,

 

Greetings of the day!

 

May be it is generating because of the permission issue in "PUB" folder. Please check the permission status.

 

  • Here are the steps to give permission to the folder.
  • Log in to your SSH/CLI with admin permissions and navigate to the root of your store.
  • Set permissions to the files: find . -type f -exec chmod 644 {} \;
  • Set permissions to the directories: find . -type d -exec chmod 755 {} \;
  • Set permissions to special directories: find ./var -type d -exec chmod 777 {} \;
  • find ./pub/media -type d -exec chmod 777 {} \;
  • find ./pub/static -type d -exec chmod 777 {} \;

 

Do check and if you face the same issue, feel free to contact us.

If solved, give KUDOS and accept as a solution.

Thanks!

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi @Milople ,

 

Thanks for your reply. Change directory permission doesn't help.

 

Regards, kf

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi @kf_luk,

 

Greetings!

 

In the adobe's release note they have clearly said "Restricted admin access to Media Gallery folders. Default Media Gallery permissions now allow only directory operations (view, upload, delete, and create) that are explicitly allowed by configuration. Admin users can no longer access media assets through the Media Gallery that were uploaded outside of the catalog/category or wysiwyg directories. Administrators who want to access media assets must move them to an explicitly allowed folder or adjust their configuration settings".

 

See Modify Media Library folder permissions.

 

Try this way to solve your issue. 

Thank you!

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi @Milople ,

 

Thanks for your advise. In my first post already mention the link you wrote.

While, I'm not developer so doesn't know how to make it work on our system.

So I'm looking for advance user here to suggest a solution.

 

Thank you for your advise.

 

Regards, kf

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi @kf_luk,

 

Greetings of the day!

 

We can help you. But to solve this we need to check your whole website. Our technical expert will solve your issue. Please submit your issue here.

 

Please feel free to contact us if you face any other difficulties. 

We'll be more than happy to assist you.

Thank you!

Have a great day!

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi kf

Did you find the exact solution to this?

I have the same problem.

When I try to insert an image in a cms page and click the 'insert image'. the 'insert file' page doesn't display any of the image folders including the wysiwyg one.

I just see the spinning loading icon and nothing loads.

Thought you might have solved it and you could share it.

Thanks

Andy

Re: M2 2.4.3 -> 2.4.3-p1 Media gallery folder access problem

Hi all! I like tubi tv because it offers a wide selection of free movies and TV shows that suit my entertainment preferences. First of all, Tubi TV's extensive library of content spans a variety of genres, so there's something for everyone. Tubi TV has everything from classic movies to the latest TV series. Moreover, the platform regularly updates its collection by keeping up with new releases and offering fresh content to users, making them even more valuable.