Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 20, 2005 9:25 pm 
Offline
Junior Member

Joined: Mon Nov 01, 2004 4:36 pm
Posts: 21
Hi Folks,

I'm moving from one linode to another, and have a strange file permissions issue. I have a number of virtual hosts and would like to have them be owned by different users.

My proposed set up is:

User: mthaddon
Home: /home/mthaddon
HTML dir: /home/mthaddon/web.url/html
Apache root dir: /var/www/html
Dir permissions: 644 mthaddon.users

I then symlink from /var/www/html/web.url to /home/mthaddon/web.url and specify in the Apache config file that the doc root is /var/www/html/web.url/html. Everything looks like it should work fine, and in my test case it did. I then set up another user, moved his files over, and followed the same pattern for this user. Problem is, for some reason his files show "you don't have permission to access this" unless I make the permissions 777.

I should specify that these are php files, not cgi files, and also jpg/png files.

Can anyone help out?

Thanks, Tom


Top
   
PostPosted: Fri Apr 22, 2005 1:57 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
mthaddon wrote:
Dir permissions: 644 mthaddon.users

Normally directories need the "x" pemission as well to allow people to enter them, so 755 is a better permission. Files can be 644.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


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


Who is online

Users browsing this forum: No registered users and 1 guest


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