Date: Thu, 31 Jul 1997 20:14:02 +1000 (EST) From: Ada T Lim <ada@not-enough.bandwidth.org> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: docs/4198: broken chmod(2),sticky(8) manpage Message-ID: <199707311014.UAA08494@polya.blah.org> Resent-Message-ID: <199707311020.DAA25619@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4198 >Category: docs >Synopsis: broken chmod(2),sticky(8) manpage >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 31 03:20:03 PDT 1997 >Last-Modified: >Originator: Ada T Lim >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: The chmod(2) manpage as well as the sticky(8) manpage both still refer to the ability to create sticky-bit files. Only the super-user can set the sticky bit on a sharable executable file. (from sticky(8)) However, from /usr/src/sys/ufs/ufs/ufs_vnops.c: if (vp->v_type != VDIR && (mode & S_ISTXT)) return (EFTYPE); Also, S_ISTXT isn't adequately documented - both stat(2) and chmod(2) refer to only S_ISVTX, not S_ISTXT >How-To-Repeat: >Fix: Fix the manpages, as mentioned above :) >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707311014.UAA08494>