fix: Handle permission errors for memory persistence on read-only environments 87b51e4 Chirag0123 commited on Apr 7