Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2022 17:38:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 262895] access(2) man page should mention softlinks
Message-ID:  <bug-262895-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262895

            Bug ID: 262895
           Summary: access(2) man page should mention softlinks
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: jamie@catflap.org
                CC: doc@FreeBSD.org

I almost got bitten by this.

access, eaccess, faccessat will ALWAYS dereference symbolic links.

(though Linux allows the flag AT_SYMLINK_NOFOLLOW to be applied to faccessa=
t)

Could a note like this be added to the man page?

"access, eaccess, faccessat will ALWAYS dereference symbolic links. If you =
need
to refer to the symbolic link itself, you'll have to instead use stat(2)"

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262895-9>