From patchwork Mon Jun 25 20:02:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 167233 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 0B7D0B6FAA for ; Tue, 26 Jun 2012 06:03:37 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7D5111011DC; Mon, 25 Jun 2012 20:03:35 +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 qWSw2tVfhY6U; Mon, 25 Jun 2012 20:03:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A573100CB1; Mon, 25 Jun 2012 20:03:32 +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 32D7A8F75B for ; Mon, 25 Jun 2012 20:03:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21BC38A2FA for ; Mon, 25 Jun 2012 20:03:31 +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 sICIWYdyPusn for ; Mon, 25 Jun 2012 20:03:30 +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 871728AA45 for ; Mon, 25 Jun 2012 20:03:29 +0000 (UTC) Received: by eeke50 with SMTP id e50so2412365eek.16 for ; Mon, 25 Jun 2012 13:03:27 -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=E3eD1+ighcgcwi9o8CsYHGXji0PdOEpwkqfqkW3hhJA=; b=n9JfWS7DkM3Qh4zzZOjmUOo1ws5CAbXArd+cSiRYi243jeD5cmPIB9yS/yravPL22z kFXqevPahQnyVzVHgMUNsOxene+v8xjIOBTS9Qt/TU/VKrsL5Io5ujKbmpaobI0WDyYZ YK89+aa2ivwotNmL9nUE+EykFqGOxli5mb5xTd0LHmiXWVw4pxdsjFpt9knAVvQQDBq0 xDTuEoaDhzgE+gsurDv8d1Lla9lrqLFDZunSfsQ38nynGDntTq34aAKxXRsH+GPXAetG mqYcswuIbBe0zt5HHlVCsCU6SI9mJDaTMg+kmtgKcWZBORtdknEf2FRQyvq7+axPZKMY DrlQ== Received: by 10.14.188.10 with SMTP id z10mr2740468eem.28.1340654607516; Mon, 25 Jun 2012 13:03:27 -0700 (PDT) Received: from localhost.localdomain (host-2-100-182-54.as13285.net. [2.100.182.54]) by mx.google.com with ESMTPS id c42sm142088234eeb.2.2012.06.25.13.03.25 (version=SSLv3 cipher=OTHER); Mon, 25 Jun 2012 13:03:26 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Mon, 25 Jun 2012 21:02:21 +0100 Message-Id: <1340654541-10427-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) --- 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..421b357 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 - - - - -