tomsk
Very Senior Member
thats a weird one.... AB3 has a function called set_perms_unix_format which is called several places in the script to set permissions.
is the device itself set read only? ... can you type mount at the command line and see what the output says?
Code:
set_perms_unix_format(){
if [ -d $abSolutionPath ];then
# to files in installDir
chmod -R a=r,a+X,u+w $abSolutionPath
if [ "$(ls -A $abSolutionPath/$scriptsDir)" ]; then
chmod 0755 $abSolutionPath/$scriptsDir/*
fi
if [ "$(ls -A $abSolutionPath/$addonDir)" ]; then
chmod 0755 $abSolutionPath/$addonDir/*
fi
fi
# to this script
if [ -f $abSolutionDevice/$appScript ];then
chmod 0755 $abSolutionDevice/$appScript
dos_to_unix $abSolutionDevice/$appScript
fi
# to entware init.d
if [ -d $initDir ];then
chmod 0755 $initDir/*
fi
is the device itself set read only? ... can you type mount at the command line and see what the output says?