LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache Root Directories and Virtual Servers.

[ILUG] Apache Root Directories and Virtual Servers.

Lisa Muir 34.24.34 at gmail.com
Thu Aug 25 17:49:40 IST 2005


Hi Guys,

I'm trying to setup my home linux machine to serve webpages for two
trial sites, a and b

I've got my dsl router portforwarding etc, and have a static IP and
virutal servers all working fine.

My problem is directory permissions. 

The webserver root direcories reside in:

/srv/www/a
and 
/srv/www/b

I want to give users shell and ftp access to a and other users shell
and ftp access to b.

This was cool when I only had one site, but now I find that users of b
can access a's files and visa versa. Not good.

I've tried splitting them into seperate groups, but if I apply and
folder permissions I merely lock out access to the folders to wwwrun

If I make wwwrun the owner of the folders, then by adding in extra
users I'm granting both local users access to the respective webroot
directories.

Is there another way to define directory access / users  that I can
use to keep users in their home directories?

If I make wwwrun have sole permissions to /srv/www and move the home
directories to /home, will they be able to link to sub-directories of
/srv/www ?

Currently they can't log in for shell access if I set it up that
way... any ideas would be great, I'm confusing myself here calculating
chmod codes and not seeing any solution on the horizon.

TIA,

Lisa.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell