*

alexiar

  • **
  • 5 posts
Installation issues (File perms?)
« on: March 10, 2022, 02:22:30 PM »
I'm trying to install this software on apache linux

It keeps saying some directories have no writing permissions even though they do. Just for testing sake, I chmod'ed everything to 777

[alexia@linux html]$ ls -l
total 120
-rwxrwxrwx. 1 apache apache 55022 Jan  3 12:25 CHANGELOG.txt
-rwxrwxrwx. 1 apache apache  1398 Jan  3 12:18 config-sample.php
-rwxrwxrwx. 1 apache apache 15086 Jan  3 12:18 favicon.ico
-rwxrwxrwx. 1 apache apache  5088 Jan  3 12:18 index.php
-rwxrwxrwx. 1 apache apache 11358 Jan  3 12:18 LICENSE-2.0.txt
drwxrwxrwx. 8 apache apache  4096 Nov 25 07:44 oc-admin
drwxrwxrwx. 7 apache apache   101 Jan  3 12:19 oc-content
drwxrwxrwx. 5 apache apache   115 Nov 25 08:42 oc-includes
-rwxrwxrwx. 1 apache apache 13326 Jan  3 12:18 oc-load.php
-rwxrwxrwx. 1 apache apache   273 Jan  3 12:18 robots.txt
[alexia@linux html]$

Installation shows a cross on the following and won't let me proceed:
X oc-content/downloads folder is writable
X oc-content/languages folder is writable
X Root directory is writable

*

MB Themes

Re: Installation issues (File perms?)
« Reply #1 on: March 10, 2022, 03:11:54 PM »
There is set of functions involved, I think osclass does not check permissions, but simply if php function can write in these directories or not.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Installation issues (File perms?)
« Reply #2 on: March 10, 2022, 03:13:03 PM »
Anyway you may PM ftp login and we will review if functions used there works as expected.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

cartagena68

  • ***
  • 71 posts
Re: Installation issues (File perms?)
« Reply #3 on: March 11, 2022, 12:14:06 AM »
Having all the permission to 777 is a big mistake and a security risk. Osclass need folders permissions set to 755 and files permissions set to 644