Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5baba057 authored by Robert Nelson's avatar Robert Nelson
Browse files

sdcard: fix permissions on Debian Stretch


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 364e7892
Branches
Tags
No related merge requests found
......@@ -1052,6 +1052,26 @@ populate_rootfs () {
sync
sync
echo "-----------------------------"
if [ -f /usr/bin/stat ] ; then
echo "-----------------------------"
echo "Checking [${TEMPDIR}/disk/] permissions"
/usr/bin/stat ${TEMPDIR}/disk/
echo "-----------------------------"
fi
echo "Setting [${TEMPDIR}/disk/] chown root:root"
chown root:root ${TEMPDIR}/disk/
echo "Setting [${TEMPDIR}/disk/] chmod 755"
chmod 755 ${TEMPDIR}/disk/
if [ -f /usr/bin/stat ] ; then
echo "-----------------------------"
echo "Verifying [${TEMPDIR}/disk/] permissions"
/usr/bin/stat ${TEMPDIR}/disk/
fi
echo "-----------------------------"
if [ ! "x${oem_flasher_img}" = "x" ] ; then
if [ ! -d "${TEMPDIR}/disk/opt/emmc/" ] ; then
mkdir -p "${TEMPDIR}/disk/opt/emmc/"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment