Bug 274245

Summary: Running make clean on macOS attempts to remove /etc
Product: Base System Reporter: Mateusz Piotrowski <0mp>
Component: miscAssignee: Mateusz Piotrowski <0mp>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me    
Priority: ---    
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   

Description Mateusz Piotrowski freebsd_committer freebsd_triage 2023-10-03 15:43:05 UTC
I ran the following command on macOS 13.5.2:

    "MAKEOBJDIRPREFIX=/private/tmp/obj tools/build/make.py --debug TARGET=amd64  TARGET_ARCH=amd64 --bootstrap-toolchain clean

and I got the following message:

    ...
    ===> etc (clean)
    bmake[2]: warning: /etc: Permission denied.
    ...

I didn't investigate but it seems to be a bug.

The FreeBSD src tree is at 4862e8ac0223d7b19c8b3e070af1e2b38b18f333.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2023-10-03 16:35:17 UTC
Hmm, it might have been a misconfiguration on my side. I'll reopen if I happen to hit this again.