@Kenworth: I know that this has always been the case (the sandbox blocking access to files not explicitly given access to), but I think @PK is right - something has changed (maybe it's just that extra logging has been added?). I too noted that now my GAE Python application (using AppEngine starndard) generates a lot of these messages during startup. This change has been done some time between versions 1.9.52 and 1.9.57 of the development server.
I modified "devappserver2/python/stubs.py" the following way:
def log_access_check_fail(filename):
# This gets the sandboxed version of the logging module
logging = __import__('logging')
logging.info('Sandbox prevented access to file "%s"', filename)
frame = inspect.currentframe() # <-- line added by me
logging.info(''.join(traceback.format_stack(frame))) # <-- line added by me
logging.info('If it is a static file, check that '
'`application_readable: true` is set in your app.yaml')
So that I can track down where these "disallowed" files where accessed from (what I found was that the Django initialization code was trying to access a lot of translation and time zone files - still have to look into if/how I could cut down on these accesses).
Attila