Date: Fri, 05 Aug 2022 03:53:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264208] make install[kernel|world] from read only /usr/obj throws permission denied warnings. Message-ID: <bug-264208-227-SHQ2FPatch@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264208-227@https.bugs.freebsd.org/bugzilla/> References: <bug-264208-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264208 Jamie Landeg-Jones <jamie@catflap.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie@catflap.org --- Comment #3 from Jamie Landeg-Jones <jamie@catflap.org> --- Have you tried testing with a non-NFS directory that you also don't have wr= ite access to? I'm only asking because on one of my new 13.1 machines, I get this (/usr/ob= j is a standard directory, writeable only by root) - it seems for some reason, m= ake is trying to open the directory with write access, and failing (When I do i= t as root, it obviously works [until I block roots write acesss], but "make" in = that case doesn't even attempt to actually write/create anything) I don't get this warning on 13.0 and earlier. So maybe, NFS isn't actually related to the issue - more the fact that make is now trying to test writin= g to its obj dir? As a non-root user: % cd / % make -v HOME make warning: /usr/obj/: Permission denied. /usr/users/jamie As root: # cd # pwd /root # cd / # make -v HOME /root # chflags schg /usr/obj /usr/obj: 00 -> 0400000 # make -v HOME make warning: /usr/obj/: Operation not permitted. /root --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264208-227-SHQ2FPatch>