Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 19:07:36 +0100 (CET)
From:      Andrew Prewett <andrew@kronos.HomeUnix.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: permissions issue  help ?!?!
Message-ID:  <20030107185853.H51290@slave.east.ath.cx>
In-Reply-To: <1238.207.5.169.163.1041962590.squirrel@bmyster.com>
References:  <1238.207.5.169.163.1041962590.squirrel@bmyster.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Today Brent Bailey wrote:

> Hello,  Im using FBSD 4.6 R.... i recently installed something  (i dont
> know what ) that changed the permissions on my /tmp  directory.making
> things like mysql & php and other programs not function correctly.
>
> as things are now on the broken box the permissions are:
> drwx------  root  wheel  /tmp
>
> I have another FBSD box thats working fine ..and the permissions on its
> /tmp dir are:drwxrwxrwt   root  wheel  /tmp
>
> now to restore the permissions on the broken box ..i did
> #chmod 777 /tmp

>
> however im not sure how to get the "t"  on the permissions back (im not
> even sure what the "t" means)

it's a sticky bit

in a directory with the `sticky bit' set, only the file owner and the user
(process) with root privileges can unlink the file.

> Can anyone tell me how to get the permissions back to:
> drwxrwxrwt   root  wheel  /tmp    ???

chmod 41777 /tmp

	-andrew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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