Bug 31025

Summary: link(2)'s man page leaves out reasons for EPERM
Product: Base System Reporter: Tim Singletary <tsingle>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Tim Singletary 2001-10-04 03:10:00 UTC
Discovered while analyzing why `ln from to' failed with
`Operation not permitted' when the `from' file had the
schg flag set.  ln's failure appears to be correct, but
neither `man 1 ln' nor `man 2 link' explained what was 
happening.

Fix: Apply the following diff to /usr/src/lib/libc/sys/link.2
How-To-Repeat: Set a file's schg flag and attempt to hard link it to 
another name.
Comment 1 dd freebsd_committer freebsd_triage 2001-10-14 23:40:21 UTC
State Changed
From-To: open->closed

Applied, thanks!