Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 18, 2012 4:51 am 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Good morning,

I just went through the process of setting up my linode, as per the 'getting started', 'securing your server' and 'hosting a web site' help files in the linode library. Previously I successfully did the next step that I am about to explain, but the second time around (after reinstalling everything), I have encountered a problem.

I have Debian distro, I followed the basic Apache, Mysql and PHP5 install. Just to get everything quickly up.

I set up my name-based virtual hosts, of which I have five.

I logged into filezilla and successfully connected to my home directory, and also the public directory, and into each name-based virtual host directory. All directories have 755 permissions.

The problem starts when I try to upload a file from my desktop to the server. It comes up with the following error, regardless of what file I upload or into which name-based virtual host or folder on the server I upload.

Error: /home/vanir/public/beenatural.me/public/nicole.pdf: open for write: permission denied
Error: File transfer failed

I am not sure if this is a chmod problem or a root access problem.

I would greatly appreciate any assistance or insight into this. I am sure it is a very simple fix.

Thank you in advance,
Jasmin


Top
   
PostPosted: Sun Aug 19, 2012 9:36 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Running ls -ld /home/vanir/public/beenatural.me/public will tell you what the permissions and ownership are for that directory. If the mode is set at 755, then "drwxr-xr-x" will appear at the beginning, and you should be able to upload files using the username that is shown as the owner.

If the ownership is incorrect, you can fix it (as root) with the chown command.


Top
   
PostPosted: Mon Aug 20, 2012 4:28 am 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Thank you for your help - that's very kind!


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


Who is online

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