There are 3 levels of user, owner, group and public. and each of these levels can have 3 options with the file; read, write and execute. In Unix these levels are represented by numbers (0 for no access, 4 for read only, 6 for read and write and 7 for everything). So 644 would mean the owner can read and write, group access is read only and so is public access. 777 would be all users can do anything they want – this is generally not recommending as it opens the file up to be editting by anyone.
Generally is you are the owner you need at least read and write access and maybe execute, but group and public access rarely should be more than just read access.
For a look at how to do this in the Unix command line click here