Date: Wed, 7 Mar 2001 09:48:22 -0500 (EST) From: Jim Freeze <jim@freeze.org> To: <questions@freebsd.org> Subject: Directory permissions and sticky bits Message-ID: <Pine.BSF.4.32.0103070942140.42531-100000@www.stelesys.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0103070942140.42531-100000>