From owner-freebsd-questions Wed Mar 7 6:47:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id 47E3F37B719 for ; Wed, 7 Mar 2001 06:47:36 -0800 (PST) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f27EmMY43175; Wed, 7 Mar 2001 09:48:22 -0500 (EST) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Wed, 7 Mar 2001 09:48:22 -0500 (EST) From: Jim Freeze X-X-Sender: To: Subject: Directory permissions and sticky bits Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to whoever that was that replied to my question about the sticky bit (I deleted the email too fast). I now have % dir /var/tmp drwxr-xr-t 4 root wheel 512 Mar 1 22:19 ./ drwxr-xr-t 20 root wheel 512 Jun 7 2000 ../ drwxr-xr-t 5 jfreeze wheel 512 Mar 1 22:18 texfonts/ drwxrwxrwx 2 root wheel 512 Mar 7 09:09 vi.recover/ But I cannot create a file in /var/tmp. % touch xyz touch: xyz: Permission denied I thought that with the sticky bit set I could create files in a directory? The reason I am looking at this is because enscript is trying to create a file in the /var/tmp directory: % enscript pnc enscript: couldn't create divert file "/var/tmp/ensJ63216": Permission denied If I change the permissions on /var/tmp, what is the point of the sticky bit? Thanks ========================================================= Jim Freeze a.k.a Dr Freeze ... No, I've never met Batman! --------------------------------------------------------- jim@freeze.org http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message