Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Mar 14, 2012 2:35 pm 
Offline
Newbie

Joined: Wed Mar 14, 2012 2:21 pm
Posts: 4
Hi Guys,
I'm trying to configure automatic sftp updates with wordpress on a new linode ubuntu 10.04 I created.
I set up vsftpd, done the required configuration, creating a new sftp user and adding him to www-data group.
Then changed the group folder to /srv/www/domain/public_html

This has enabled the automatic updates and all was good on WP-admin
however, since the ownership of public-html has changed, i lost access to wordpress front-end ( index.php and so )
I had to change the folder ownership back to nobody to get Wordpress back, but ofcourse lost the automatic updates settings. And since apache is no longer an owner, I ended up having to change permissions to 777 to enable wordpress to write.

I figured out that I need to set the ownership to something like
chown sftp(as the ftp user) : apache /srv/www/domain/public_html
but that is not possible for some reason and I'm not sure weather its the right thing to do.

I want to achieve the following:
-Enable wordpress ( apache ) to write to the public_html as an owner
-Enable sftp to that folder and the sftp user is part of www-data group

I basically need professional help at this stage. Appreciate any tips


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


Who is online

Users browsing this forum: No registered users and 0 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