From: Timothy Manning Date: Fri, 6 Aug 2021 02:43:05 +0000 (+1200) Subject: Copied yaffs direct files are now read only. X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=df78c65f2ea7bc2c447f3f7c5c8ce592d5a5587b Copied yaffs direct files are now read only. Signed-off-by: Timothy Manning --- 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