/rescue/init wrong permissions

Joshua Isom jrisom at gmail.com
Mon Feb 11 10:07:41 UTC 2013

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.

More information about the freebsd-questions mailing list