Skip to contentSkip to conversation

Add /var/www to device table

PATCH New spdawson at gmail.com 2 participants 3 messages Jul 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add /var/www to device table

From: Simon Dawson <[email protected]>

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.

---
v2: Removed redundant TAB from line added device table file.

 target/generic/device_table.txt |    1 +
 1 file changed, 1 insertion(+)
target/generic/device_table.txt +1 -0
index fc397a9..421728b 100644
@@ -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	-	-	-	-	-
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 Add /var/www to device table

Quoted 7 lines · spdawson at 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.

You forgot to add my

Quoted 2 lines

---
v2: Removed redundant TAB from line added device table file.

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F