From patchwork Fri Aug 17 08:32:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v4] Add /var/www to device table Date: Thu, 16 Aug 2012 22:32:00 -0000 From: Simon Dawson X-Patchwork-Id: 178161 Message-Id: <1345192320-4835-1-git-send-email-spdawson@gmail.com> To: buildroot@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 - - - - -