From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 15:57:57 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E62B7560 for ; Thu, 26 Mar 2015 15:57:57 +0000 (UTC) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADB27E0B for ; Thu, 26 Mar 2015 15:57:57 +0000 (UTC) Received: by igcau2 with SMTP id au2so15878397igc.1 for ; Thu, 26 Mar 2015 08:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=889HmNudHg7WtcktL6zW20LGpnIVPO010RNL3Wf35qs=; b=oP1Z1zhjXS8qfz1FZGp6Jdt4S2g0fSDygCVHPSR2uSF6RBUTvBaH36dQl/yEXNujcu nq7Cp20g462wFqvdzUpi4VzPNxJVTiRjXt2T6/BEskjSH7p3xOBAGWcC0ScaIRKWOxvv AXE4I6oEOWw0vulHJ0J5zhMRhs1u1XhMgYyRzvU7RLEcUHf2Z6qAW/Bw+eCPvO6jX36a FhTVr+IYx/8GgJ5i4fdyp/u9DB+RBfQbWeTuamAVCfdXb1sVWPDy2QqC8/B+KNoE062R 3Lo5+tw4XdJ+0j23eNS/sSrx7uNUo1RlGiuZ6Nqcmt4zlLsPf0JHSzL+cfRxhIRIYeu6 ZnKQ== MIME-Version: 1.0 X-Received: by 10.50.137.2 with SMTP id qe2mr19024636igb.20.1427385477157; Thu, 26 Mar 2015 08:57:57 -0700 (PDT) Received: by 10.107.6.8 with HTTP; Thu, 26 Mar 2015 08:57:57 -0700 (PDT) In-Reply-To: <5514299D.4030802@gmail.com> References: <5514299D.4030802@gmail.com> Date: Thu, 26 Mar 2015 09:57:57 -0600 Message-ID: Subject: Re: what does "t" is /tmp permissions mean From: Paul Smith To: Ernie Luzar Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:57:58 -0000 Ernie Luzar wrote: > doing "ls -l /" shows that the /tmp directory has these permissions > drwxrwxrwt > > What does the "t" under other user mean? > Where can I find documentation on permissions? > Section 4.4 in the handbook is about permissions. https://www.freebsd.org/doc/handbook/permissions.html t is the sticky bit. "When the sticky bit is set on a directory, it allows file deletion only by the file owner. This is useful to prevent file deletion in public directories, such as /tmp, by users who do not own the file." -- Paul Smith