Problem Installing Upgrading/Framework

I’m Elastix 1.0.4 version.
When I do to opgrade the frameworks 2.3.1.3 to 2.1.3.4 appears a error:

“error copying framework files:
‘cp -rf’ from src: ‘/var/www/html/admin/modules/framework/htdocs/*’ to dst: ‘/var/www/html’…details follow
cp: cannot create directory /var/www/html/_asterisk': Permission denied cp: cannot create directory/var/www/html/recordings’: Permission denied”

I dont have idea of the reason of this error.
Please help me!
I can’t upgrate to version 2.4 of FreePBX because i’m afrain to CRACK all Elastix system and need to reinstall. PLEASE i’m from argentina and my english is very bad.

THANKS YOU ALL!!!
Alexis.
[email protected]