From owner-freebsd-questions Wed Mar 7 6:32:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id F306337B718 for ; Wed, 7 Mar 2001 06:32:21 -0800 (PST) (envelope-from nbm@rapier.smartspace.co.za) Received: (qmail 72356 invoked by uid 1001); 7 Mar 2001 14:31:54 -0000 Date: Wed, 7 Mar 2001 16:31:54 +0200 From: Neil Blakey-Milner To: Jim Freeze Cc: questions@freebsd.org Subject: Re: What is 't' in chmod? Message-ID: <20010307163154.A72063@rapier.smartspace.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jim@freeze.org on Wed, Mar 07, 2001 at 09:27:57AM -0500 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed 2001-03-07 (09:27), Jim Freeze wrote: > The difference is > > drwxr-xr-x 4 root wheel 512 Mar 1 22:19 ./ > ^ > > What is the 't' and how do I get the mode: > > drwxr-xr-t > > I tried 1755 but got > > drwxr-xr-T The sticky bit. From ls(1): These next two apply only to the third character in the last group (other permissions). T The sticky bit is set (mode 1000), but not execute or search permission. (See chmod(1) or sticky(8).) t The sticky bit is set (mode 1000), and is search- able or executable. (See chmod(1) or sticky(8).) Read chmod(1) or sticky(8) for more info (as suggested above). Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message