Page MenuHomeFreeBSD

cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0
ClosedPublic

Authored by imp on Nov 19 2023, 6:01 AM.
Tags
None
Referenced Files
F102672564: D42674.id130313.diff
Fri, Nov 15, 4:19 PM
Unknown Object (File)
Oct 4 2024, 9:12 PM
Unknown Object (File)
Oct 2 2024, 9:15 AM
Unknown Object (File)
Oct 2 2024, 8:49 AM
Unknown Object (File)
Oct 1 2024, 8:08 AM
Unknown Object (File)
Oct 1 2024, 12:13 AM
Unknown Object (File)
Sep 27 2024, 12:43 PM
Unknown Object (File)
Sep 27 2024, 10:25 AM
Subscribers

Details

Summary

From NetBSD's utils.c 1.5 importing importing BSDI change, with light
formatting changes:

Author: cgd <cgd@NetBSD.org>
Date:   Wed Feb 26 14:40:51 1997 +0000

Patch from BSDI (via Keith Bostic):
>NFS doesn't support chflags; ignore errors unless there's reason
>to believe we're losing bits.  (Note, this still won't be right
>if the server supports flags and we were trying to *remove* flags
>on a file that we copied, i.e., that we didn't create.)

CVS Info: utils.c 1.6

Obtained from: NetBSD
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable