From owner-freebsd-questions@FreeBSD.ORG Sun May 10 21:54:00 2015 Return-Path: Delivered-To: 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 39CBAA19 for ; Sun, 10 May 2015 21:54:00 +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 F125D10CF for ; Sun, 10 May 2015 21:53:59 +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 712FC3CCDD; Sun, 10 May 2015 23:45:32 +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 t4ALjV79002766; Sun, 10 May 2015 23:45:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 10 May 2015 23:45:31 +0200 From: Polytropon To: David Banning Cc: questions@freebsd.org Subject: Re: permissions and ownership of /usr/src Message-Id: <20150510234531.f2398880.freebsd@edvax.de> In-Reply-To: <20150510190342.GA9986@skytracker.ca> References: <20150510190342.GA9986@skytracker.ca> 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: Sun, 10 May 2015 21:54:00 -0000 On Sun, 10 May 2015 15:03:44 -0400, David Banning wrote: > I am in the process of upgrading my system from 8.2 to 9.3. > > I deleted the /usr/src folder and re-created it. The correct word is "directory". :-) > Presently the permissions > are; > > drwxr-xr-x 22 root wheel 1024 May 9 17:32 src > > but I am getting an access error to /usr/src from mergemaster. What exactly is the error message? > 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? You probably can restore /usr/src by using the mtree specification in /etc/mtree/BSD.usr.dist. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...