From owner-freebsd-questions Wed Jan 20 19:52:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02062 for freebsd-questions-outgoing; Wed, 20 Jan 1999 19:52:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02052 for ; Wed, 20 Jan 1999 19:52:04 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA14913; Thu, 21 Jan 1999 14:21:54 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id OAA19622; Thu, 21 Jan 1999 14:21:54 +1030 (CST) Date: Thu, 21 Jan 1999 14:21:54 +1030 From: Greg Lehey To: Gustavo Vieira G C Rios Cc: freebsd-questions@FreeBSD.ORG Subject: Permissions on /tmp (was: stupid action) Message-ID: <19990121142154.K15785@freebie.lemis.com> References: <36A68C46.EBCF0A0B@netshell.vicosa.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36A68C46.EBCF0A0B@netshell.vicosa.com.br>; from Gustavo Vieira G C Rios on Thu, Jan 21, 1999 at 12:09:10AM -0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 21 January 1999 at 0:09:10 -0200, Gustavo Vieira G C Rios wrote: > Hi, i logged in as root, so a change some flags permission on my /tmp > directory! > Before this all user could create new file on this dir, and delete only > that, but now the can delete file that are not owned by themselves. > How can i restore the /tmp file flags to the instalattion flags? # chown root:wheel /tmp # chmod 1777 /tmp Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message