Merge pull request #811 from MilhouseVH/init_root_755

init: make sure /storage permissions are correct
This commit is contained in:
Christian Hewitt 2016-10-07 14:49:53 +04:00 committed by GitHub
commit a4c872fe6e
2 changed files with 2 additions and 1 deletions

View File

@ -217,7 +217,7 @@ CONFIG_FEATURE_TR_EQUIV=y
# CONFIG_CAL is not set
# CONFIG_CATV is not set
# CONFIG_CHGRP is not set
# CONFIG_CHMOD is not set
CONFIG_CHMOD=y
CONFIG_CHOWN=y
# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set
CONFIG_CHROOT=y

View File

@ -990,6 +990,7 @@
# Just in case... problems with ssh if not correctly owned
chown 0:0 /storage 2>/dev/null
chmod 755 /storage 2>/dev/null
mount --move /flash /sysroot/flash
mount --move /storage /sysroot/storage