Re: proftpd : 2 anonymous areas?
On Mon, Aug 06, 2001 at 03:27:24PM +0100, Rory Campbell-Lange wrote:
> I'm trying to make 2 or more anonymous areas on our intranet where
> people can only view data, not write it.
>
> The two directories are /home/x/y/z and /home/x/a
>
> My three strategies:
> 1) make an <anonymous> directive with suitable <directory> directives
> within. Problem: everyone can see /home/x
If the permissions on the directories are set up correctly, this
shouldn't be the case. Ex.:
drwx-----x /home/x (chmod 701)
drwx---r-x /home/x/a (chmod 705)
...will allow access to /home/x/a without allowing access to /home/x
for all users. So, for some other user, 'ls /home/x' will result in
"Permission denied", but 'ls /home/x/a' works; the user just has to
know that /home/x/a exists. This is generally how it's done, I think.
At my university, everyone in certain CS classes has an account, and
has to have a web visible directory (like a in your example) without
giving everyone access to their projects.
I don't really know much about the other stuff you posted; I'd
suggest trying the permissions first.
HTH,
Mike McGuire
Reply to: