Permissions and note messages fix.

I fixed permissions and the note messages.