From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 10:07:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28158E9E for ; Mon, 11 Feb 2013 10:07:41 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x234.google.com (mail-ia0-x234.google.com [IPv6:2607:f8b0:4001:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id C7A65184E for ; Mon, 11 Feb 2013 10:07:40 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so6170859iae.25 for ; Mon, 11 Feb 2013 02:07:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Yvko6TYPZf9J/2wzXnIr5NEo2Tx9pauSy4HORvY5MU4=; b=gud5SMRAw0MNFENSkz0xluFpxQn4p+mT3dV3zSscPfJGtmt8J4d7FG+eeyhnlq/d9j bSaYSNEbspw8Zw/sKs94wEvWz+0tQcAwC8HiH5RDdpq1xPvxi6/6ub6MADfybRQlfeUG RHU4hpTvUzNTYbU3BlNtdtToz8EWBtgwLvxe4vkbaBU9XV4DNdm7W+LYoUz0cgJvl45J XPbmwGVh7Y9M4vjDaCcOWQjf3NR+f02fLzGGOfsluG6N8tCAPudh240fxXfBJTQOQM9P tQ70i3HIO3dsplpmY/ASXo5Nra3ssGJUimlDl/ct00aQKjVCqR59g4qIuMqTrshseT9W EkNQ== X-Received: by 10.42.92.72 with SMTP id s8mr16900765icm.0.1360577260585; Mon, 11 Feb 2013 02:07:40 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id vq4sm25456083igb.10.2013.02.11.02.07.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 02:07:39 -0800 (PST) Message-ID: <5118C2E5.8030005@gmail.com> Date: Mon, 11 Feb 2013 04:07:33 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: /rescue/init wrong permissions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 10:07:41 -0000 On 2/10/2013 3:22 PM, David Demelier wrote: > Hello > > I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. > After some days and reboot, I just realized that the device does not boot > anymore, so I've plugged a serial cable and saw a panic with error : > > exec /rescue/init: error 13 > > I checked the permissions and noticed that permissions are only set to read > on this file : > > -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init > > On my laptop it's -r-xr-xr-x. I have installed it to my embedded device > with standard targets such as make installworld and make distribution, > which kind of steps set these permissions ? > > Cheers, > Just a quick guess, the file system is mounted as noexec.