I have a really large file I\'m trying to open with mmap and its giving me permission denied. I\'ve tried different flags and modes to the os.open but its just not
os.open
The cross-platform call of mmap can be performed using access parameter:
mmap
access
mfd = os.open('BigFile', os.O_RDONLY) mm = mmap.mmap(mfd, 0, access=mmap.ACCESS_READ)
The mmap construction permissions should be synced with the file open permissions (both read, write, or read/write).