Solved

Synology permissions for web folder and site folders

Posted on 2014-03-27
4
3,545 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
  • 2
  • 2
4 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
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
Comment Utility
do these My scripts and images have perms set to 0644 reside is subfolders of the site folder?
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
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
Comment Utility
sorry for delay was away abroad.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now