corrected *nix file permissions: 644 for files, 755 for folders