From patchwork Fri Aug 17 08:32:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 178161 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 654232C0093 for ; Fri, 17 Aug 2012 18:33:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4FBC325629; Fri, 17 Aug 2012 08:33:29 +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 6xfrfYZJKTpT; Fri, 17 Aug 2012 08:33:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B76E72559D; Fri, 17 Aug 2012 08:33:16 +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 2DFAB8F753 for ; Fri, 17 Aug 2012 08:33:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 071678B9A3 for ; Fri, 17 Aug 2012 08:33:15 +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 NxYk-fquHWr5 for ; Fri, 17 Aug 2012 08:33:10 +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 B5AA38F54A for ; Fri, 17 Aug 2012 08:33:09 +0000 (UTC) Received: by eekd4 with SMTP id d4so1712229eek.16 for ; Fri, 17 Aug 2012 01:33:07 -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=hUCR/PCBXufZGW9w9IgoA46V4Hze5l1Q6N/2Hg9rACQ=; b=zdm2C6u/OkSj2gby1EQCsn/1xdTMe8j1z9oeMa/XXNqxySFuMJfGbUrMm3UgnTVwNE Xm6hLNeYd9dxZ8udWN8/hkv5R/vBSEJxqHo/4vW+hYWGEKZdYYGWiPvOwD4ldmuEFX3y dEAOhXQERC0XKCx/RAEOcvLrRH6D3xNY7cB3Ysi2SDvnyV/ckxlccyKlKlTzFrd2AKx6 1ONqurQtR+dah+bDMclAUOPQQdCMkkBOmEZyveW4XIW2F7tJFJakXOagvok8BOrnudTl ybcKsPJq7hgC/KicgU9JiKDEuG/G83ws+rDrkAYlLWpxnL4OOMwdyO01gj7QSmS7jKMZ Mwqw== Received: by 10.14.172.193 with SMTP id t41mr5299377eel.25.1345192387570; Fri, 17 Aug 2012 01:33:07 -0700 (PDT) Received: from localhost.localdomain (host-92-25-116-72.as13285.net. [92.25.116.72]) by mx.google.com with ESMTPS id y1sm18278942eel.0.2012.08.17.01.33.05 (version=SSLv3 cipher=OTHER); Fri, 17 Aug 2012 01:33:06 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 17 Aug 2012 09:32:00 +0100 Message-Id: <1345192320-4835-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH v4] 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) --- v4: Resend. v3: Added Acked-by information. 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 - - - - -