Dogsbody wrote:
>> Is it possible to create a user with ftp acces to a site, but only to
>> on specific folde of the site and the subfolders within this folder?
>>
>> A customer of mine what to have some "outside" people to do some work
>> on his site, but hi only wants them to se the folder "xx" and
>> subfolders inside this folder.
>
> 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
Hope that helps.
--
+---------------------------------------------------------------------+
| / \ Greg Kuhnert, gkuhnert (at mark) compassnetworks.com.au |
| < o > Compass Networks - Pointing you in the right direction |
| \ / Check out our website for NuOnce module support. |
+---------------------------------------------------------------------+