Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!mindspring!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.maxwell.syr.edu!news.radio.cz!CESspool!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How do I add security to my ftp server? Date: 31 Jan 1997 22:22:30 GMT Organization: Private BSD site, Dresden Lines: 46 Message-ID: <5ctrb6$3ps@uriah.heep.sax.de> References: <5c8t4t$kob@nnrp2.digex.net> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34974 userid <userid@mail.dockingbay.com> wrote: > chmod -w *.* does not do it for an anonymous login to the ftp server *.* is wrong, it often evaluates to nothing. At least, it certainly won't evaluate to what you think it might, coming from a DOS world (obviously). j@uriah 1538% ls FreeBSD2/ src/ [So you can see there's actually something to be here.] j@uriah 1539% ls *.* ls-F: No match. [Sure. There's no file or directory with a dot in the name.] [But:] j@uriah 1540% ls * FreeBSD2: _m3main.c _m3main.o m3test* m3test.m3x Main.mo src: m3makefile Main.m3 So, make this: chmod -R a-w . or chmod -R a-w * The difference between both is that the first will also affect the directory itself you are in, and all the `dot files' there that are `hidden' in the DOS terminology, thus not covered by *. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)