1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-21 07:07:08 +03:00
openwrt-xburst/package/base-files/files/lib
jow 287fdd0d38 [PATCH] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 [PATCH] Fix permissions for /etc and other dirs after clean flash (#6039) 2010-11-07 00:26:00 +00:00
network [package] base-files: add udhcpc vendorid option (#7744) 2010-10-06 21:21:28 +00:00
preinit [package] base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks 2010-09-23 17:32:58 +00:00
upgrade [package] base-files: 2010-10-05 19:24:12 +00:00