From df78c65f2ea7bc2c447f3f7c5c8ce592d5a5587b Mon Sep 17 00:00:00 2001 From: Timothy Manning Date: Fri, 6 Aug 2021 14:43:05 +1200 Subject: [PATCH] Copied yaffs direct files are now read only. Signed-off-by: Timothy Manning --- direct/handle_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/handle_common.sh b/direct/handle_common.sh index f46ee53..28edb6f 100755 --- a/direct/handle_common.sh +++ b/direct/handle_common.sh @@ -34,6 +34,8 @@ set -e -x -e "s/strncmp/yaffs_strncmp/g"\ -e "s/loff_t/Y_LOFF_T/g" \ >$i + + chmod 0444 $i done elif [ "$1" = "clean" ] ; then for i in $YAFFS_COMMON_SOURCES ; do -- 2.30.2