Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Sep 06, 2012 12:19 pm 
Offline

Joined: Thu Sep 06, 2012 12:10 pm
Posts: 1
Hi there,

I've followed the Linode setup guides and got domains/virtual hosts setup for a couple of sites. For one site however I am trying to use Wordpress, but I am having issues with uploading themes/using the editor. As I understand this is due to file access permissions, and on this forum and others I haven't found a definitive answer as to which is the best/most secure way of doing this (some suggest simply using chmod 777, doesn't seem sensible!).

Firstly I currently have all websites owned by the same user (the one setup in the Linode guide, it has sudo access). Is this a bad idea? Should I create another user which only owns the website folders, without sudo?

Also how should I go about allowing Wordpress to upload files/use the editor? I have read http://codex.wordpress.org/Changing_File_Permissions specifically the parts about chmod and the required permissions for the editor, but I'm confused about the user permission structure in general, especially groups and how wordpress uses this.

I am running a LAMP stack on Ubuntu.

Any help is greatly appreciated!

EDIT: I found this guide for an alternative host. http://articles.slicehost.com/2007/9/18 ... ermissions

Would following this method be suitable? I.e. add the user to the www-data group, and then give all folders which need editing 770 permissions? Are there any security issues with this/should I still not use the sudo user for this?


Top
   
PostPosted: Fri Sep 21, 2012 3:21 am 
Offline
Junior Member
User avatar

Joined: Mon Sep 17, 2012 4:33 am
Posts: 43
Website: http://www.bonsoni.com
Would like to know the answer too, anyone?

_________________
Ubuntu 10.4 LTS, Apache2, LAMP, n00b

Online Shopping


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group