[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (mis)understanding of ftp permissions?



On Thu, Aug 28, 2003 at 10:38:59AM -0400, Matthew L. Shobe wrote:
> On Thu, Aug 28, 2003 at 09:24:50AM -0500, Asenchi wrote:
> > I have a dir structure like this:
> > 
> > /home/ftp
> > 	|_ /incoming (perm: 0555)
> > 	|_ /pub (perm: 0555)
> > 	      |_ /politics (perm: 0555)
> > 	      |_ /utility (perm: 0555)
> > NOTE: all of these are root:ftp owned.
> > 
> > I want anonymous ftp to work only for download in the pub dir.  So that 
> > both ../politics and ../utility are accessed by the account.  However I 
> > don't want anonymous to be able to download.
> 
> FTP is good for only one thing, anonymous download. Using it for
> anything else is asking for trouble.
> 
> > I also want a user to be able to place files directly into ../politics  
> > however when I set this up, I get either anonymous is capable of 
> > uploading or client isn't.
> 
> Use scp (1) for non-public upload and download. Give your users an
> account and a public key.

... or rsync.  An rsync server is easy to set up.

-- 
Andreas Kähäri
Essex, England



Visit your host, monkey.org