To have complete read-write access over a file in GNU/Linux, in terminal enter
sudo chmod 777 filename
Note that you need the privilege to change permissions. The chmod 777
will give complete read-write access on that file (or folder) to the current user.