*BSD News Article 96499


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!ix.netcom.com!netcom.com.nojunkemailplease.com!not-for-email
From: nobody@not.for.email (Timothy J. Lee)
Subject: Re: read and write but no delete how?
Message-ID: <timleeEAz7uF.JrM@netcom.com>
Followup-To: comp.unix.bsd.freebsd.misc
Sender: timlee@netcom20.netcom.com
Reply-To: see-signature-for-email-address---ads-not-welcome
References:  <01bc6c9e$02415580$2a0a30ce@beto.tamnet.com.mx>
Date: Fri, 30 May 1997 04:15:51 GMT
Lines: 17
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41849

"Alberto de Poo" <adepoo@tamnet.com.mx> writes:
|Is there
|a way to make a directory writeable but can not overwrite or delete a file
|already there?

It looks like the sticky bit on the directory may be what you are looking
for.  See the man pages for chmod(1), chmod(2), and sticky(8).

Of course, when the users create files in a sticky directory, they must
set the permissions appropriately if they want to avoid having the files
be overwritten by others.

-- 
------------------------------------------------------------------------
Timothy J. Lee                                                   timlee@
Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.