Index: [Article Count Order] [Thread]

Date:  Sat, 07 Mar 2009 16:03:14 +0000
From:  Dogsbody <dan (at mark) dogsbody.org>
Subject:  [coba-e:15227] Re: Ftp tweeaking
To:  coba-e (at mark) bluequartz.org
Message-Id:  <49B29AC2.40701 (at mark) dogsbody.org>
In-Reply-To:  <49B27859.40905 (at mark) theanchoragesylvania.com>
References:  <F99EC3D3-0542-4F57-BA4C-6E8B080425A4 (at mark) straszek.dk> <49B26BAC.3080503 (at mark) dogsbody.org> <49B27859.40905 (at mark) theanchoragesylvania.com>
X-Mail-Count: 15227

>> Can you not create a standard user and then link the directory on the 
>> website with the users home web directory?
>>
>> cd /home/sites/www.example.com/web
>> ln -s ../users/user/web dir
>
> I dont think that one will work... FTP for non-admin users have a 
> "default-root" that wont let them get outside their "virtual" root 
> environment.
> 
> If you want to "keep it simple".... give the user normal non-admin 
> privs, and let them edit web content in 
> /home/sites/www.sitename.com/users/username/web/
> 
> Then: You can either have the main site use the code by including links 
> to http://www.sitename.com/~username/ or you can symlink from main site 
> to user directory. This will also require a change to be made in 
> /etc/httpd/conf/vhosts/sitexx.include to allow symlinks

LOL, you just described exactly what I was saying!!  Sorry if I wasn't 
clear in my mail.

Dan