How do I reset all the permissions

I just untar some cgi files using root and now when i ftp using my normal account to overide the file it say permission denied.

How do I change all the permission?

 

 

 

 

Top