Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 14:21:54 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Gustavo Vieira G C Rios <grios@netshell.vicosa.com.br>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Permissions on /tmp (was: stupid action)
Message-ID:  <19990121142154.K15785@freebie.lemis.com>
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
References:  <36A68C46.EBCF0A0B@netshell.vicosa.com.br>

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



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