From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 21:22:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 695267FA for ; Sun, 10 Feb 2013 21:22:22 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0785F368 for ; Sun, 10 Feb 2013 21:22:21 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id fg15so4194293wgb.13 for ; Sun, 10 Feb 2013 13:22:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=yMY8ZoR2MSVjldzyKfBVOgTOmf36/H4lqTqA4lRdNQI=; b=DWsttaLM5mD3kgzFr2+UrBe9IG67TaMdNyJQ0P5m1k+5R/Kc8Jqd87XY/o2fk78WQT sFqU6zyZKmd4yTwEGZs/9eUdUO+RfoJGTRF8Zu6fQ2Twk/XAYJ5eCaPZFFmGVY1RwhZB Yp7Ht+oFJ2vAu3jmVhX3NRwtBA2VUmabklzSWeUnNZPkTOgIzxDvYLypPD9LgjB784Dq hv6qRAYFCBWWxKEB+O8GLR8WAhjhBkX9hgpIohKnxaGj2NIj86X3AXKZra31cEX9C6HW l9TXuuD1WlMS7xpiust5rOpWt7UL50vxFL2beV/TWIViAl3zG6YLAC6j635dveYm8QH5 zKxw== MIME-Version: 1.0 X-Received: by 10.180.80.74 with SMTP id p10mr12443152wix.19.1360531340409; Sun, 10 Feb 2013 13:22:20 -0800 (PST) Received: by 10.194.119.5 with HTTP; Sun, 10 Feb 2013 13:22:20 -0800 (PST) Date: Sun, 10 Feb 2013 22:22:20 +0100 Message-ID: Subject: /rescue/init wrong permissions From: David Demelier To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sun, 10 Feb 2013 21:22:22 -0000 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, -- Demelier David