From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 01:20:55 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 523EF16A4CE for ; Fri, 30 Jan 2004 01:20:55 -0800 (PST) Received: from jorn.servebeer.com (node-c-0ab6.a2000.nl [62.194.10.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 000BA43D1D for ; Fri, 30 Jan 2004 01:20:53 -0800 (PST) (envelope-from jorn@wcborstel.nl) Received: from sauron.emea.middle-earth.org (unknown [172.16.1.2]) by jorn.servebeer.com (Postfix) with ESMTP id 6A1BF170A3; Fri, 30 Jan 2004 10:19:03 +0100 (CET) From: Jorn Argelo To: Date: Fri, 30 Jan 2004 10:20:55 +0100 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401301020.55607.jorn@wcborstel.nl> cc: 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 09:20:55 -0000 Well, that's not FreeBSD's fault, but MySQL requires the mysql.sock file to be writeable to the world, or else it wouldn't be changing the attribute by itself. It's up to the administrator of the server to make sure that users can't reach the /tmp partition then. Cheers, Jorn On Friday 30 January 2004 02:59, zzerver@hotmail.com wrote: > 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 > # /usr/local/blabla/sh mysql-server.sh start > # chmod o-w /tmp/mysql.sock > ..and then again mysql stop working ...soo ...from my as a administrador > this is not posible ...because some body rm that file and ..thats ir > ...mysql stops ...my setting bad?plz help me > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"