Message ID | jsrmck$gt1$1@dough.gmane.org |
---|---|
State | Superseded |
Headers | show |
Le Mon, 2 Jul 2012 08:33:24 +0000 (UTC), Romain Izard <romain.izard.pro@gmail.com> a écrit : > Shouldn't it be changed by using a LIGHTTPD_PERMISSIONS variable, > instead of modifying the common device table ? This makes the > relationship more evident. I think the point was that /var/www would not only be used by lighttpd, but also by other web servers, and packages installing Javascript stuff, etc. Thomas
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index b8aa310..34f59b2 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -62,4 +62,9 @@ define LIGHTTPD_UNINSTALL_TARGET_CMDS rm -rf $(TARGET_DIR)/usr/lib/lighttpd endef +#<name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> +define LIGHTTPD_PERMISSIONS +var/www d 755 33 33 - - - - - +endef + $(eval $(call AUTOTARGETS))