*BSD News Article 42083


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!night.primate.wisc.edu!caen!math.ohio-state.edu!howland.reston.ans.net!swiss.ans.net!news.ans.net!interaccess!usenet
From: Brad Schick <schickb@aol.com>
Newsgroups: comp.unix.bsd
Subject: FTP and the BSD file system
Date: 4 Feb 1995 02:52:38 GMT
Organization: InterAccess
Lines: 25
Message-ID: <3guq5m$jk8@nntp.interaccess.com>
NNTP-Posting-Host: nb-dyna116.interaccess.com


I recently started and FTP site with a local service provider and 
have had a few difficulties. Since the support people seem to be 
clueless, maybe someone else can help.

My service provider is running BSD/386 1.1

I have not been able to find a method of preventing FTP users from
overwriting files posted with the same name. For example, PUT TEST 
followed by a second PUT TEST overwrites the first TEST with the 
second TEST. This happens even if the TEST file is r--r--r-- (444). 
Anonymous FTP users can also overwrite files they do not own. Is 
the FTP server getting around the BSD file system?

I tested this on a machine running Solaris 2.3 and it worked
correctly. Anonymous FTP users could not overwrite files that
already existed with read-only permission.


I have also been unable to automatically display messages when a
user changes into a directory. Other FTP servers automatically
show ".message" files. How can I do this with the BSD FTP server?

- Brad Schick