From owner-freebsd-questions@FreeBSD.ORG Tue May 12 07:38:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0123389 for ; Tue, 12 May 2015 07:38:05 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B22A1146E for ; Tue, 12 May 2015 07:38:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-97-206.dynamic.qsc.de [92.195.97.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id BA9F23CD03; Tue, 12 May 2015 09:37:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4C7butv002398; Tue, 12 May 2015 09:37:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 12 May 2015 09:37:56 +0200 From: Polytropon To: Arthur Chance Cc: nightrecon@hotmail.com, freebsd-questions@freebsd.org Subject: Re: permissions and ownership of /usr/src Message-Id: <20150512093756.455fcf21.freebsd@edvax.de> In-Reply-To: <5551AB33.1050006@qeng-ho.org> References: <20150510190342.GA9986@skytracker.ca> <20150510234531.f2398880.freebsd@edvax.de> <44r3qnfbwl.fsf@be-well.ilk.org> <5551AB33.1050006@qeng-ho.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 07:38:06 -0000 On Tue, 12 May 2015 08:26:43 +0100, Arthur Chance wrote: > On 12/05/2015 01:57, Michael Powell wrote: > > Lowell Gilbert wrote: > > > >> Polytropon writes: > >> > >>> On Sun, 10 May 2015 15:03:44 -0400, David Banning wrote: > >>>> Can anyone tell me what the permissions - ownership are/should > >>>> be for /usr/src ? > >>> > >>> /usr/src should belong to root:wheel and have rwxr-xr-x permissions > >>> (those are the defaults). Does mergemaster indicate an error for > >>> /usr/src itself or for a subdirectory thereof? > > > > I was wondering about this too, e.g. is the permission error in /var/tmp/ > > when mergemaster is trying to create the temproot directory tree under > > /var/tmp, and reflecting back through mergemaster when it fails. Somehow, I > > don't really think it likely, as a time or two I've had a problem like this > > mergemaster was very explicit about what was wrong. > > I have a note to myself in one of my machine's /etc/fstab that reads > > # Note: whereas noexec,nosuid seems like a good idea on /tmp, > # make -C /usr/src installworld creates programs under /tmp that > # it uses to do the install, so fails with the secure options. > > As I've switched to using freebsd-update lately this is irrelevant for > me now, but maybe this is what's hitting the OP. ISTR that mergeemaster > does something with make in /usr/src. This was another assumption I had: A subprogram is being called for execution from a partition mounted with the noexec and/or the nosuid option. But without the actual error message, this is just a guess. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...