In cpanel server WordPress upgrades will get you to permission issues most of the time. The easy solution is to configure wordpress with FTP login credentials. To get this done add following lines to wp-config.php file – assumed that WordPress installed under wordpress directory in public_html
Where “username” is your cpanel account name and “password” is cpanel account password. Adding these lines will keep you away from prompting FTP username and password when you try upgrade.