[Bug 262895] access(2) man page should mention softlinks

2024-05-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262895

--- Comment #7 from Jamie Landeg-Jones  ---
(In reply to Dag-Erling Smørgrav from comment #6)

Fair enough. Obviously, even in my use case, there could be a potential race
condition, so I suppose its use as an existence test can only be considered to
give historical information.

Might it be an idea when you remove that line to suggest in its place what
would be the best alternative to use? I think some people will be more likely
to follow the security advice if they are given an alternative!

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


[Bug 262895] access(2) man page should mention softlinks

2024-05-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262895

--- Comment #6 from Dag-Erling Smørgrav  ---
OK, I think the proper fix here would be to remove the sentence about
`access()` being a cheaper existence test, because it's not an existence test
at all.

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