Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Synology permissions for web folder and site folders

Posted on 2014-03-27
4
Medium Priority
?
4,523 Views
Last Modified: 2014-04-28
I am having trouble with permissions.

I am using synology ds411+ with virtual hosting setup

I have a folder for websites volume1/web
The sites are in
volume1/web/site1.....
volume1/web/site2

etc

I had issues with open dir which were solved by an EE expert but thereafter have lost the plot on what the permissions of the folders should be.

I tried having looked at some synology threads

cd ..
DiskStation> chmod -R 777 volume1/web
DiskStation> chmod -R 777 volume1/web/AcousticLaptops

phpmyadmin didnt like that flagged red.

then I tried 750

but now joombla wont install at all

it gives error
Warning: session_start(): open(/var/services/tmp/sess_9iv22prv0klte5pvs092tuif45, O_RDWR) failed: Permission denied (13) in /volume1/web/AcousticLaptops/libraries/joomla/session/session.php on line 658

so I know I have now screwed up the permissions.

so rather than worry about joombla could someone help me with the permissions set up on the synology.

I am unsure of to go via the control panel or folder properties or do in putty with chmod.

I think if I can get this right my issues with web dev would disappear.
0
Comment
Question by:PeterBaileyUk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39958878
I use a shared hosting service (Linux with FastCGI) for my PHP sites.  Don't really know much about Synology, but it's obvious that they have Linux support, and they have an online support forum with a FAQ.
http://www.synology.com/en-global/support/faq/310

My web root and sub-folders have perms set to 0755

My scripts and images have perms set to 0644
0
 

Author Comment

by:PeterBaileyUk
ID: 39960791
do these My scripts and images have perms set to 0644 reside is subfolders of the site folder?
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39961339
Yes.   Both scripts and images reside in my web root directory and in sub-folders below the web root.
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40026769
sorry for delay was away abroad.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question