Post by spiner » Fri May 08, 2020 1:52 am

Hi all,
I have fresh install of OC v2302, I need to change folder permissions to 775 (folders: admin, catalog and system) for facebook ads extension.
After changing permissions admin don't work, I can't to login, redirect me to front 404 Page not find!

Ane help, please?

Newbie

Posts

Joined
Sun Mar 18, 2018 7:00 pm

Post by OSWorX » Fri May 08, 2020 4:00 am

775 is very unusual!
Standard would be 0755
Sometimes it could ba also somewhat else, in such case you have to ask your provider.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by spiner » Fri May 08, 2020 4:55 am

OSWorX wrote:
Fri May 08, 2020 4:00 am
775 is very unusual!
Standard would be 0755
Sometimes it could ba also somewhat else, in such case you have to ask your provider.
Thanks for reply.
Jup that is unusual, but Facebook Ads Extension for Opencart need that because extension put some files in server.
https://github.com/facebookincubator/Fa ... L_GUIDE.md
Pre-requisites prior to installing the plugin
Section 4

Newbie

Posts

Joined
Sun Mar 18, 2018 7:00 pm

Post by OSWorX » Fri May 08, 2020 3:14 pm

When I look at the screenshot for the file/folder permissions of this extension and see something like 0777 (in this case the vqmod folder), I see only that here is something going very wrong!

As written, 0755 must be enough for folders, 0644 for files.
In some very rare cases, and only if the provider/hoster has some other rules, they can vary slightly.

What I can see also with this 0770 is, that the "Others" group can do nothing (who could with 0755).
Have you ever tried it with that?

What I assume is, that your server is running under some strange conditions, suphp using or something else.
And now the wrong group "Others" will have access and has not, that's why the 404 error.

For anybody with technical interest, read this here:
https://www.tutorialspoint.com/unix/uni ... ission.htm
https://www.guru99.com/file-permissions.html

And something to "play" with: http://permissions-calculator.org/

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by spiner » Sat May 09, 2020 7:38 am

OSWorX wrote:
Fri May 08, 2020 3:14 pm
When I look at the screenshot for the file/folder permissions of this extension and see something like 0777 (in this case the vqmod folder), I see only that here is something going very wrong!

As written, 0755 must be enough for folders, 0644 for files.
In some very rare cases, and only if the provider/hoster has some other rules, they can vary slightly.

What I can see also with this 0770 is, that the "Others" group can do nothing (who could with 0755).
Have you ever tried it with that?

What I assume is, that your server is running under some strange conditions, suphp using or something else.
And now the wrong group "Others" will have access and has not, that's why the 404 error.

For anybody with technical interest, read this here:
https://www.tutorialspoint.com/unix/uni ... ission.htm
https://www.guru99.com/file-permissions.html

And something to "play" with: http://permissions-calculator.org/
Thanks for reply.

Newbie

Posts

Joined
Sun Mar 18, 2018 7:00 pm
Who is online

Users browsing this forum: No registered users and 5 guests