openwrt/package/base-files/files/lib
Jo-Philipp Wich a8efa34da3 Fix permissions for /etc and other dirs after clean flash (#6039)
During the first OpenWrt boot after a clean flash (when the jffs2
partition is not yet initialized) tmpfs is used instead of the usual
jffs2 overlay filesystem.  If this tmpfs is mounted with default
options, all directories created there (/etc, /etc/config, other
subdirectories in /etc) get permissions 1777 by default, and these
permissions then persist in the created jffs2 at least until
subsequent sysupgrade.  Mounting tmpfs with mode=0755 fixes the
permission problem.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>

SVN-Revision: 23906
2010-11-07 00:26:00 +00:00
..
firstboot change from /jffs to /overlay, patch from Daniel Dickinson 2010-03-21 17:16:50 +00:00
functions Fix permissions for /etc and other dirs after clean flash (#6039) 2010-11-07 00:26:00 +00:00
network base-files: add udhcpc vendorid option (#7744) 2010-10-06 21:21:28 +00:00
preinit base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks 2010-09-23 17:32:58 +00:00
upgrade base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles 2010-10-05 19:24:12 +00:00