.du.sh file permissions


#1

Dumb question, sorry. Recently, everytime I run a ls command, or similar, I get this output:

-bash: /home/<user>/.du.sh: Permission denied

$ls -la
-rw-rw----    1 <user> <user> 730 Oct 19 08:48 .du.sh

What is the permissions supposed to be? I was running the command find . -type f -exec chmod 660 {} + to change lot of my torrent files to those permissions, but I once accidentally ran that in the wrong folder)

I did change the permissions to give it execute permissions, but I gave it to owner/group only (770), but does the ‘other’ group need execute permissions too?

Also, now that I think about it, are the other files (.bashrc, .bash_logout, .rtorrent.rc, etc) in the home directory ok to be 660?


#2

just leave it its not anything that will keep you from using it its just a color changer.