Hello,
To hide the files and folders, I put a dot in front of the name of the files and folders. (example, old folder name Photo, new .Photo)
To change the attribute of files and folders, first I have learned admin password. Then I used the commands, row by row as;
sudo "password"
cd...