From patchwork Mon Jul 9 12:51:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 169807 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id CB6812C01D3 for ; Mon, 9 Jul 2012 22:52:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 94C1E321A2; Mon, 9 Jul 2012 12:52:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3fwU3yQ6K-nS; Mon, 9 Jul 2012 12:52:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9F8BB32197; Mon, 9 Jul 2012 12:51:59 +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 DAC488F753 for ; Mon, 9 Jul 2012 12:51:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CFC5B8C1AB for ; Mon, 9 Jul 2012 12:51:58 +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 9p1rD9dT9UZw for ; Mon, 9 Jul 2012 12:51:57 +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 646E38C886 for ; Mon, 9 Jul 2012 12:51:57 +0000 (UTC) Received: by eeke50 with SMTP id e50so6748096eek.16 for ; Mon, 09 Jul 2012 05:51:55 -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=JJQb1pI7ECL1wcK9L00B+rbNlCYx7ev3uWnvp3z8+C4=; b=cvQjNloPuXMpfTG/obM9eyRivS0PXiXulT5fH/Ayc1wAH4nGdssLgl9VV3LwOa6E/1 BLzFbBGigggsX3TztxildL8IXLEZ2ddh/0WV67GfgvB7JOyJMjB1+KKF731fKlqvT1yd ThwQyARiirrgnbbqo4xguTt+KK3Tcb2xRbiNJAypMZ1gjjyoy78vS/jM+X9rTHEZsTb0 /ybjuHZSWkdielwvqt4rshIR8UaNEvdHz4MwIFlzE4wd0VRBMBReFlNhWEQ0bIiASkkR 1AkJHT5BF5JVyQyBID5O8Np3oGs1MsEKNfFrkn4k+gQ9g0CjJe+KVvi+erP8MvpyTQY/ dKOg== Received: by 10.14.29.67 with SMTP id h43mr9356422eea.216.1341838315287; Mon, 09 Jul 2012 05:51:55 -0700 (PDT) Received: from percy.train.local ([213.170.149.177]) by mx.google.com with ESMTPS id a4sm86367950een.14.2012.07.09.05.51.53 (version=SSLv3 cipher=OTHER); Mon, 09 Jul 2012 05:51:54 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Mon, 9 Jul 2012 13:51:51 +0100 Message-Id: <1341838311-14605-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. 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 - - - - -