Directory and file permissions on OSSN v6.x

Oliver Mankewitz Posted in Technical Support 5 months ago

Hi, there!

The installation prerequisites check fails the directory and file permissions check. (They are all owned by the webserver)
The given link (https://www.opensource-socialnetwork.org/wiki/view/4378/directories-and-files-permission) leads to nowhere.
Can someone clarify what dirs and what files needs to have which kind of permissions?

Thank you very much!
Regards...

Replies
German Oliver Mankewitz Replied 5 months ago

I found the error! The system-info tool is great and really helpful.
The "html"-dir wasnt owned by the webserver.
Chowned it to www-data and everything worked like a charme.
Thank you very much.

Regards,

Why is the system-info tool not included in the ossn archive? This would help many users and save you from annoying questions like this one. ;) Just my fifty cents...

Indonesian Arsalan Shah Replied 5 months ago

This error occurred when isCacheWriteable return false means installer tried to write a folder called cache and if it failed it return error.

Follow case A https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error

German Oliver Mankewitz Replied 5 months ago

Nope. No cache folder. Its a clean install. I had no OSSN running on that server before.

Indonesian Arsalan Shah Replied 5 months ago

Can you check if there is already cache folder exists? in root?

German Oliver Mankewitz Replied 5 months ago

Hi, Arsalan!
You can find all the folder and file permissions here: Link to txt-file
And here is the screenshot of the installer: screenshot of error

Thank you very much.

Indonesian Arsalan Shah Replied 5 months ago

Please provide us the screenshot if possible.

German Oliver Mankewitz Replied 5 months ago

Edit:
All files are 644 and all directories, including the ossn_data-dir, are 755.