Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 1996 09:26:31 -0500
From:      Rick Gray <rickg@nwpros.com>
To:        "Daniel O'Callaghan" <danny@lynx.its.unimelb.edu.au>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Anon FTP
Message-ID:  <1.5.4.32.19960607142631.00685d70@nwpros.com>

next in thread | raw e-mail | index | archive | help
At 01:30 PM 6/7/96 +1000, you wrote:

>I would recommend against 777 for pub.  To my thinking, pub should be 
>755, owned by root or ftpadmin.  pub should not be writable by user ftp.
>To have an incoming directory, 
>mkdir incoming; chown ftpadmin incoming; chmod 733 incoming
>
>This creates an incoming dir which people can place files in, but they 
>can't see the files in it.  Stops people from deleting others' uploads, 
>and from using your server as a dropoff point without your cooperation.

My permissions are set according to the man pages. I have also had other
people try to FTP anonymously and have the same results: no directories seen
and ls not working....

My permissions are as follows:

usr/ftp               owned by root and unwritable
usr/ftp/bin         owned by root and chmod 555--ls is chmod 111
usr/ftp/etc         owned by root and chmod 555--passwd and group are chmod 444
usr/ftp/pub         owned by ftp and chmod 777

These should be correct according to the man pages. My passwd file contains
ftp:*:14:5:Anonymous FTP Admin:/usr/FTP:/bin/csh. See anything I'm doing wrong?

Thanks.
************************************************
Rick Gray 
Network Pros, Inc. 
rickg@nwpros.com


"It is a good day to die." ----Klingon Philosophy

************************************************




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1.5.4.32.19960607142631.00685d70>