[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Different ftp directories ?
- Subject: RE: [cobalt-users] Different ftp directories ?
- From: "Paul Shuttleworth" <paul@xxxxxxxxxxxxxx>
- Date: Wed Oct 8 05:07:03 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of William J.A.
> Brillinger
> Sent: 08 October 2003 12:43
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Different ftp directories ?
>
>
> At 12:29 PM 08/10/03 +0100, you wrote:
> >I would like to set this up so no one can alter any of the other
> designers
> >files.
> >I do not want to change the Default setup in proftpd.conf <VitualHost>
> >container as the server has other users on the same IP address.
> >Is there a way to alter the default FTP directories on a site/user basis.
> >
> >Anyone any ideas or got a similar setup working ?
> >
> >Thanks
> >Paul.
>
> I would setup sim-links in the main web dir for each and link
> them to each
> users personal account - as long as they are not set to "site admin" they
> can't get into each others space.
>
> Sym-Link: ln -s FROM TO
>
> From the dir /home/sites/MYSITE/web, do this:
>
> ln -s /home/sites/MYSITE/users/russian/web russian
>
>
> You will need to make a minor change in: /etc/httpd/conf/access.conf
>
> # allow symlinks on MYSITE
> <Directory /home/sites/site##/>
> Options -SymLinksIfOwnerMatch +FollowSymLinks
> </Directory>
>
> - Bill
>
Thanks Bill
Yes I could use symlinks I suppose, didn't think about them, I was sort of
looking for the answer in proftpd.conf.
Thanks for the heads up.
Cheers
Paul.