summaryrefslogtreecommitdiffstats
path: root/package/i2c-gpio-custom
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-07 00:26:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-07 00:26:00 +0000
commita8efa34da327fb00d25d642f445d72af06362d8a (patch)
tree0e52772a8deec533d1902901166fa45b9f3e9b40 /package/i2c-gpio-custom
parent7972cc4a7f9f9aff2add597a455d08f6749df2c0 (diff)
downloadmaster-31e0f0ae-a8efa34da327fb00d25d642f445d72af06362d8a.tar.gz
master-31e0f0ae-a8efa34da327fb00d25d642f445d72af06362d8a.tar.bz2
master-31e0f0ae-a8efa34da327fb00d25d642f445d72af06362d8a.zip
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
Diffstat (limited to 'package/i2c-gpio-custom')
0 files changed, 0 insertions, 0 deletions