From owner-freebsd-questions Tue Aug 28 7:47:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pogo.caustic.org (caustic.org [64.163.147.186]) by hub.freebsd.org (Postfix) with ESMTP id 86C5137B405 for ; Tue, 28 Aug 2001 07:47:20 -0700 (PDT) (envelope-from jan@caustic.org) Received: from localhost (jan@localhost) by pogo.caustic.org (8.11.0/ignatz) with ESMTP id f7SElDK34416; Tue, 28 Aug 2001 07:47:14 -0700 (PDT) Date: Tue, 28 Aug 2001 07:47:13 -0700 (PDT) From: "f.johan.beisser" To: jacks@sage-american.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 1777 Protection In-Reply-To: <3.0.5.32.20010828093856.01151810@mail.sage-american.com> Message-ID: X-Ignore: This statement isn't supposed to be read by you MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 28 Aug 2001 jacks@sage-american.com wrote: > Early setup of a BSD box with Pine, when exiting Pine, I get a warning > about "vunerable /var/mail should have 1777 protection"... I assume that > means a chmod needed...? But, what is 1777...? from the chmod (1) man page: 1000 (the sticky bit) When set on a directory, unprivileged users can delete and rename only those files in the direc- tory that are owned by them, regardless of the permissions on the directory. Under FreeBSD, the sticky bit is ignored for executable files and may only be set for directories the 777 sets the directory to having full "read, write, and execute" permissions for the directory for everyone on the machine. hope this helps a little, -- jan -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan@caustic.org "if my thought-dreams could be seen.. "they'd probably put my head in a gillotine" -- Bob Dylan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message