From owner-freebsd-questions Sun Feb 8 23:25:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA28127 for questions-outgoing; Sun, 8 Feb 1998 23:25:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA28120 for ; Sun, 8 Feb 1998 23:25:04 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id XAA25362; Sun, 8 Feb 1998 23:24:55 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 8 Feb 1998 23:24:55 -0800 (PST) From: Doug White Reply-To: Doug White To: George Vagner cc: questions@FreeBSD.ORG Subject: Re: sticky bit problem In-Reply-To: <199802070224.UAA00344@mutsgo.dyn.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 6 Feb 1998, George Vagner wrote: > I am trying to make my /usr/ftp/incoming directory writeable > but the files in it undeleteable. > > i am logging in as anonymous without password and can put files in and also > delete them, i dont want people to be able to delete them... > > i tried some of these commands without success > > chmod 1777 /usr/ftp/incoming > chown root /usr/ftp/incoming > chgrp wheel /usr/ftp/incoming > chmod 1755 /usr/ftp/incoming (cant write to it now) try mode 1766; you can't make it the current directory to remove the file since the exec bit is missing. I think, I didn't try it ;-) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message