Patchwork Add /var/www to device table

login
register
mail settings
Submitter Simon Dawson
Date July 9, 2012, 12:51 p.m.
Message ID <1341838311-14605-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/169807/
State Superseded
Headers show

Comments

Simon Dawson - July 9, 2012, 12:51 p.m.
From: Simon Dawson <spdawson@gmail.com>

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 <spdawson@gmail.com>
---
 v2: Removed redundant TAB from line added device table file.

 target/generic/device_table.txt |    1 +
 1 file changed, 1 insertion(+)
Arnout Vandecappelle - July 9, 2012, 8:04 p.m.
On 07/09/12 14:51, spdawson@gmail.com wrote:
> 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<spdawson@gmail.com>

  You forgot to add my
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

> ---
>   v2: Removed redundant TAB from line added device table file.
Simon Dawson - July 9, 2012, 8:20 p.m.
On 9 July 2012 21:04, Arnout Vandecappelle <arnout@mind.be> wrote:
>  You forgot to add my
>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Sorry about that. Will resubmit.

Patch

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	-	-	-	-	-