What the error message about pass.txt is saying is that it has group permissions when it should not. Its permissions should be 600 ie rw- --- --- or 400 r-- --- ---.
This is because it contains very sensitive information, namely password, and so only the owner should have access to the file.