I am running a bash script on a Scientific Linux server. The script has a loop for copying files and running some programs. The process for running the script probably takes a day or two. But I always can't finish running the script, because of the following error:
cp: cannot open `somefile' for reading: Permission denied
I suspect that the cause is due to Kerberos and/or Andrew file system on the server.
How can I make my long-running script run well to finish? Thanks.