/rescue/init wrong permissions

David Demelier demelier.david at gmail.com
Mon Feb 11 18:21:12 UTC 2013

On 11/02/2013 11:07, Joshua Isom wrote:
> 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.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

Okay it seems I've totally mangled the files, my /rescue/* file were
plain C source file. I guess I've probably broke everything when I
misuse the -d and -D options from mergemaster.


More information about the freebsd-questions mailing list