Don't set buffers read-only. It totally breaks if the user doesn't have write permission.