You changed the
beaglebone user password,
and now the
deleteFile functions do not work.
To eliminate the possibility that the file functions fail because
the board file space is exhausted or the file name is misspelled,
system(bbb, 'ls -l') to see the current directory
on hardware. If this command fails as well, the problem may be the
change of password. To eliminate this problem:
Regain control of the Command Window by pressing Ctrl+C.
bbb object and any other
object based on the old password.
Create a new connection using
arguments that specify the new password.
system(bbb, 'ls -l') again.
If this command succeeds, try the
deleteFile functions again.
For more information, see: Linux.