I have a long running bash script that I run on a remote host with screen, so I can log off ssh. When I come back after some time (after logging off), the screen terminal no longer has permissions to access my files and folders.
What's causing this, and is there a way to avoid it?
OS: Scientific Linux CERN SLC release 6.9 (Carbon), using the Andrew File System. I'm using the private directory in AFS, if that makes a difference.
Edit: The screen still has access to my public directory after disconnecting, and other public files. So something about AFS is messing it up.