Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 04:07:33 -0600
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /rescue/init wrong permissions
Message-ID:  <5118C2E5.8030005@gmail.com>
In-Reply-To: <CAO%2BPfDdoLHDZfzgAUNEWEMSb5QHTtwSBOUNDoL-Fj9H9VjoMHg@mail.gmail.com>
References:  <CAO%2BPfDdoLHDZfzgAUNEWEMSb5QHTtwSBOUNDoL-Fj9H9VjoMHg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5118C2E5.8030005>