Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Add /var/www to device table
@ 2012-06-25 20:02 spdawson at gmail.com
  2012-06-30 17:46 ` Arnout Vandecappelle
  2012-07-02  8:33 ` Romain Izard
  0 siblings, 2 replies; 9+ messages in thread
From: spdawson at gmail.com @ 2012-06-25 20:02 UTC (permalink / raw)
  To: buildroot

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(+)

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] Add /var/www to device table
@ 2012-07-09 12:51 spdawson at gmail.com
  2012-07-09 20:04 ` Arnout Vandecappelle
  0 siblings, 1 reply; 9+ messages in thread
From: spdawson at gmail.com @ 2012-07-09 12:51 UTC (permalink / raw)
  To: buildroot

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(+)

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] Add /var/www to device table
@ 2012-07-09 20:20 spdawson at gmail.com
  0 siblings, 0 replies; 9+ messages in thread
From: spdawson at gmail.com @ 2012-07-09 20:20 UTC (permalink / raw)
  To: buildroot

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>
---
 v2: Removed redundant TAB from line added device table file.
 v3: Added Acked-by information.

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-07-09 20:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 20:02 [Buildroot] [PATCH] Add /var/www to device table spdawson at gmail.com
2012-06-30 17:46 ` Arnout Vandecappelle
2012-07-09 12:51   ` Simon Dawson
2012-07-02  8:33 ` Romain Izard
2012-07-03  8:03   ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2012-07-09 12:51 spdawson at gmail.com
2012-07-09 20:04 ` Arnout Vandecappelle
2012-07-09 20:20   ` Simon Dawson
2012-07-09 20:20 spdawson at gmail.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox