From patchwork Fri Nov 30 17:56:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 203009 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id A2D502C008F for ; Sat, 1 Dec 2012 04:57:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E09A8C313; Fri, 30 Nov 2012 17:57:40 +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 xMrWhmVCImCQ; Fri, 30 Nov 2012 17:57:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C1C148B8B1; Fri, 30 Nov 2012 17:57:38 +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 8AC248F753 for ; Fri, 30 Nov 2012 17:57:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8809E8B8B1 for ; Fri, 30 Nov 2012 17:57:37 +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 gXJkac+mZyJz for ; Fri, 30 Nov 2012 17:57:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8D5B78B77D for ; Fri, 30 Nov 2012 17:57:35 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so279883wey.16 for ; Fri, 30 Nov 2012 09:57:33 -0800 (PST) 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=SD11m0iYflVnJ8LS3wLzLJ+nVXCsCJVbfSUAF1glQvU=; b=0MTf5ZY2NaRwXjqviYmmTLpwI1qARjGVhrbvUNovy3C0fkYQm26thEysCL3ap6GieQ I7VAE3N9NU3GPZpVoprcUVmuhyy1m1btpvIQREvlT9XzXneF3gK5C+b2iI7lBslCxgfj sozFA+rdp6IjN8Z5gVTZLig3J8dVJHcFpTRicZGaBeX2KMV4nxAxPQXAZW0pXy/uehd4 wE/EBWWyFjF30isGa2LJTZk+78yxF7yf/DJUwtv9Ut+m523kGboKy5tOwZz8T5QZ1Ku8 TC3TKdGlPfpUequRS5nyMklHlp9LSOA/Ef2rPmDP3uCkunSHfvF4SWtPSRGvh8Scnkhm UdFw== Received: by 10.180.20.109 with SMTP id m13mr44972790wie.16.1354298253573; Fri, 30 Nov 2012 09:57:33 -0800 (PST) Received: from localhost.localdomain (host-84-13-96-11.opaltelecom.net. [84.13.96.11]) by mx.google.com with ESMTPS id dm3sm16186286wib.9.2012.11.30.09.57.31 (version=SSLv3 cipher=OTHER); Fri, 30 Nov 2012 09:57:32 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 30 Nov 2012 17:56:25 +0000 Message-Id: <1354298185-2974-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH v5] 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) --- v5: Rework for relocation device table file (now under system) v4: Resend. v3: Added Acked-by information. v2: Removed redundant TAB from line added device table file. system/device_table.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/system/device_table.txt b/system/device_table.txt index fc397a9..421728b 100644 --- a/system/device_table.txt +++ b/system/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 - - - - -