Listing files with ls -a only shows hidden files, not permissions.

Changed to ls -la.