From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 18:52:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9AD416A4CE for ; Thu, 29 Jan 2004 18:52:03 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B3F643D39 for ; Thu, 29 Jan 2004 18:52:02 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i0U2q1d9016713; Thu, 29 Jan 2004 20:52:01 -0600 (CST) (envelope-from dan) Date: Thu, 29 Jan 2004 20:52:01 -0600 From: Dan Nelson To: zzerver@hotmail.com Message-ID: <20040130025201.GM31560@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: freebsd-questions@freebsd.org Subject: Re: i found something ugly about freeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 02:52:03 -0000 In the last episode (Jan 29), zzerver@hotmail.com said: > Am probably wrong i hope.... but mysqld creates a file call > /tmp/mysql.sock but this file got to be 777??? ...i loging with a > other useran call a rm /ytmp/mysql.sock and mysql stop working ...O_o > ..but then i did this ... > > # chmod -R 777 /tmp Don't do this ^^^. The correct permissions for /tmp should be 1777, aka a=rwx,=t. The sticky bit prevents users from deleting each others files in /tmp. -- Dan Nelson dnelson@allantgroup.com