Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 20:52:01 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        zzerver@hotmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: i found something ugly about freeBSD
Message-ID:  <20040130025201.GM31560@dan.emsphone.com>
In-Reply-To: <BAY2-DAV21CCF3gl6mP0001c1c9@hotmail.com>
References:  <BAY2-DAV21CCF3gl6mP0001c1c9@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130025201.GM31560>