diff mbox

Add /var/www to device table

Message ID 1340654541-10427-1-git-send-email-spdawson@gmail.com
State Superseded
Headers show

Commit Message

Simon Dawson June 25, 2012, 8:02 p.m. UTC
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>
---
 target/generic/device_table.txt |    1 +
 1 file changed, 1 insertion(+)

Comments

Arnout Vandecappelle June 30, 2012, 5:46 p.m. UTC | #1
On 06/25/12 22:02, spdawson@gmail.com wrote:
> 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>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

  There's a redundant tab in the /var/www line, however.

  Regards,
  Arnout
Simon Dawson July 9, 2012, 12:51 p.m. UTC | #2
On 30 June 2012 18:46, Arnout Vandecappelle <arnout@mind.be> wrote:
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>
>  There's a redundant tab in the /var/www line, however.

Thanks for the feedback Arnout; will fix patch and resubmit.

Simon
diff mbox

Patch

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