From owner-freebsd-doc Thu Feb 25 19:10:17 1999 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F30E714E59 for ; Thu, 25 Feb 1999 19:10:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id TAA58587; Thu, 25 Feb 1999 19:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from sibptus.tomsk.ru (sibptus.tomsk.ru [212.176.23.5]) by hub.freebsd.org (Postfix) with ESMTP id D934C14E8A for ; Thu, 25 Feb 1999 19:06:01 -0800 (PST) (envelope-from tolik@sibptus.tomsk.ru) Received: (from tolik@localhost) by sibptus.tomsk.ru (8.8.8/8.8.8) id KAA04978; Fri, 26 Feb 1999 10:05:17 +0700 (TSK) (envelope-from tolik) Message-Id: <199902260305.KAA04978@sibptus.tomsk.ru> Date: Fri, 26 Feb 1999 10:05:17 +0700 (TSK) From: User Tolik Reply-To: tolik@mpeks.tomsk.su To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/10269: lstat(2) manpage is wrong Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10269 >Category: docs >Synopsis: manpage have wrong information about symlink modes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 25 19:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Anatoly A. Orehovsky >Release: FreeBSD 2.2.8-RELEASE i386 >Organization: >Environment: >Description: Next words into lstat(2) manpage are wrong and disagreed symlink(7) manpage and current symlink release: -- begin of quote -- Unlike other filesystem objects, symbolic links do not have an owner, group, access mode, times, etc. Instead, these attributes are taken from the directory that contains the link. The only attributes returned from an lstat() that refer to the symbolic link itself are the file type (S_IFLNK), size, blocks, and link count (always 1). -- end of quote -- >How-To-Repeat: man 2 lstat >Fix: Make lstat(2) manpage adequate symlink(7). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message