I have been learning Python and Bash scripting, and I up to now I have given my scripts 777 permissions. Having learned more about how to set permissions, and knowing this is a bad idea, I ran the following command (On Mac OSX, v10.6.8):
find / -type f -perm 0777
I was expecting to only get a small list of files that I had assigned 777 permissions, but instead I got a huge list. (1,503 to be exact.) These include my small number of scripts, as well as all of my image files, html and css files, example code that came with ebooks, as well as files related to applications such as Adobe Flash Catalyst, Smith Micro Anime Studio, something called Microsoft Play Ready (I assume this is part of Silverlight), and others.
I'm kind of new at this, but isn't this a problem? Should any files have 777 permissions?
chmod -R 777 .in the past. Even a umask of 000 or rwx default ACLs should not cause such files.
chmod 777on my python and bash scripts. Many of these files seem to have been installed by applications, (adobe, anime studio, etc.)
ls -lshows a
+after the permissions (e.g.
-rwxrwxrwx+) if there is one, and
ls -leshows the ACL.