openwrtv3/package/base-files
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
..
files Fix permissions for /etc and other dirs after clean flash (#6039) 2010-11-07 00:26:00 +00:00
image-config.in fix missing quote (thx, puchu) 2010-01-25 23:03:53 +00:00
Makefile base-files: mark /etc/shadow as conffile 2010-10-23 15:49:04 +00:00