[wip] Set the sync directory to read only while applying remote changes
[fix] Do not modify permissions for now + fetchFromDoc bugfix