Thinking about your question more. Do you want to change the permissions of all the files and folders on a Linux partition or drive? Or a Windows drive? A Windows drive, you can't do it because it doesn't have Linux permissions, it doesn't speak them. That's where umask comes in. So you can mount it in such a way that all the users can access the files. For that,
http://ubuntuguide.org/wiki/Dapper#WindowsIf you're trying to quickly change the permissions of an entire Linux drive (don't do this on your normal system directories or there will be trouble), you need to use chown with the -R switch (-R for recursive) and do it from the root (/) but I've never seen a reason to use this command from the top of the tree so I'd be very very careful if I were you. Meaning, backup anything important or don't do it.