Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news.mathworks.com!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: Is there a FreeBSD version of chattr? Date: 23 Feb 1997 01:50:35 GMT Organization: Private BSD site, Dresden Lines: 22 Message-ID: <5eo7pb$9p@uriah.heep.sax.de> References: <330e2ef5.0@news.os.com> 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:36037 craigs@os.com (Craig Shrimpton) wrote: > Linux has a utility (chattr) that keeps a user from hard linking a file. Is > there a FreeBSD equiv? chflags? j@uriah 121% touch foo j@uriah 122% ln foo bar j@uriah 123% rm -f bar j@uriah 124% chflags uchg foo j@uriah 125% ln foo bar ln: bar: Operation not permitted j@uriah 126% ls -lo foo -rw-r--r-- 1 j bin uchg 0 Feb 23 02:49 foo -- 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. ;-)