From nobody Fri Aug 5 03:53:06 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LzWsH6N9mz4YsGV for ; Fri, 5 Aug 2022 03:53:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LzWsH5Kj3z3Nqg for ; Fri, 5 Aug 2022 03:53:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LzWsH4NVSzfxY for ; Fri, 5 Aug 2022 03:53:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2753r7A3042145 for ; Fri, 5 Aug 2022 03:53:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2753r76b042144 for bugs@FreeBSD.org; Fri, 5 Aug 2022 03:53:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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. Date: Fri, 05 Aug 2022 03:53:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: toolchain X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jamie@catflap.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659671587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LPMvrfdpQ42QzJ+cq9sBw2Z3NPWaSD/v4/mHitD6w1s=; b=e0tmed+FZT8veQmRnmRQ6QjVd0a0YAP9hoFSwZj7jQPHTncCT8oPVBgTdi4AoJy9Da0E7y l4rCtV6huLI85UAzQ7PfdNQjKhmaWyf/EcPulnrVHTQOyzYGBx8vxGIWFb6CeSd0KPSFiY qRkPbZIGoSkX1PEI9qW80M9MM8CXb4Bh3hhkEm+iBrEFtwiFe5EbbQnLPL+rPZDBL9vWMV MttHKAKNvb+Rft24sHOEOSS9az3HZ83MadGDazE0HCuwnSaGmrrZT7C/aSD9IeBvSqogLy OpnAeEb4W2fn0F5HBy+H07aq1452DKqv4OGl65w2JLBCkk5K3gAlWUT5mWj0fw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659671587; a=rsa-sha256; cv=none; b=ifv2QfuFWsJ2YAl7StSdEnUB3JtpEmz7qhEpDKiCE7FMEKXe4PfmbiOGZrWRIdmBlOMEd8 Zu2vWB04Vr6ZnT59kG3g5CbawhLY5oZzCZxH3qPTVM/7B0wSyKbJ6D+MAq7pslfCt7EiAN ZvGvvKfcRsT8aqhM3ABQFx1wK62k7enIl6twjkZHXDhJR2kxa9VjfUEJQBePkwIoKr5npM vzcb+K8sLwSNQ5bEbyzFwsRWTLBKJg2fTFe76RWcQWW8oBRfYddNnpHpQZnBNzLRWMNVf3 JSZbcw/1BMsa2ueT8MZZ3sgCKz4rinful2uPQs7Cu57y8R0PrSHmr8h/ekVmRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264208 Jamie Landeg-Jones changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie@catflap.org --- Comment #3 from Jamie Landeg-Jones --- 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.=