From patchwork Mon Jul 9 20:20:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 169951 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 373442C0082 for ; Tue, 10 Jul 2012 06:21:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DE43D101D13; Mon, 9 Jul 2012 20:21:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cVA+1ZSMAM-n; Mon, 9 Jul 2012 20:21:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C1258FFE40; Mon, 9 Jul 2012 20:21:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 026398F791 for ; Mon, 9 Jul 2012 20:21:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E62B28C7B1 for ; Mon, 9 Jul 2012 20:21:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ho0-KCRxDsPM for ; Mon, 9 Jul 2012 20:21:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 85ED68C4AE for ; Mon, 9 Jul 2012 20:21:41 +0000 (UTC) Received: by eeke50 with SMTP id e50so7019067eek.16 for ; Mon, 09 Jul 2012 13:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=hUc3LBEVC4fNBuGDeBxeMjblJcLWkaJyfqxPu7MzzxQ=; b=gEqwgUTzAAf7L3U4KLCZMBEMkFPVZfM3B1WhoAPUiMX/1j+FSsuLYmXkjcDo9hdRUa l4UTgmol2ZoZTzbGKXjCIUr4te2vENlZ27bVds5BX2K9lz+D0Hb2YqxfHRSgaPmbEi+G KCjrVAdBieuKxHaFNHc3dkyELPNSofD33+Rk9bMBUx8jj9AwSB7KscJjHlujpnS9g+ko wzbN7rTf8PaKOK4Heg2/Y1zj25XatIe1j8tmb0IMYg3AL7R8Nz2FnzxsevEkESRA1BLq vtq8qt36vPSSr8jeL+otQt7uy5kAVG+zb/SpA+TO/Y4TGDiUGSiuCz06srOF0dAy/SHZ v/lg== Received: by 10.14.48.10 with SMTP id u10mr7532348eeb.26.1341865299497; Mon, 09 Jul 2012 13:21:39 -0700 (PDT) Received: from localhost.localdomain (host-2-100-182-54.as13285.net. [2.100.182.54]) by mx.google.com with ESMTPS id a16sm96726041eeg.0.2012.07.09.13.21.37 (version=SSLv3 cipher=OTHER); Mon, 09 Jul 2012 13:21:38 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Mon, 9 Jul 2012 21:20:32 +0100 Message-Id: <1341865232-3690-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] Add /var/www to device table X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson The /var/www directory is listed in /etc/passwd in the skeleton target filesystem as the home directory of the www-data user (uid 33). In the final target filesystem, /var/www should be owned by www-data. This is important for the lighttpd package, for example. Signed-off-by: Simon Dawson Acked-by: Arnout Vandecappelle (Essensium/Mind) --- v2: Removed redundant TAB from line added device table file. v3: Added Acked-by information. target/generic/device_table.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/target/generic/device_table.txt b/target/generic/device_table.txt index fc397a9..421728b 100644 --- a/target/generic/device_table.txt +++ b/target/generic/device_table.txt @@ -10,6 +10,7 @@ /tmp d 1777 0 0 - - - - - /etc d 755 0 0 - - - - - /home/default d 2755 1000 1000 - - - - - +/var/www d 755 33 33 - - - - - /etc/shadow f 600 0 0 - - - - - /etc/passwd f 644 0 0 - - - - - /etc/network/if-up.d d 755 0 0 - - - - -