Why are you installing rpm's not as the root user?
This is one of the jobs that should be done as root.
Looks like you've got a typo somewhere at first glance
surely should be ~/rpm/redhat not /~rpm/redhat ?
~rpm means the $HOME of user rpm, (e.g: my home is ~billy)
it's diff from ~/rpm which is directory 'rpm' in *YOUR* $HOME
anyway, unless you are doing something clever which i haven't
grasped, or don't have root access, install rpm's as root.
Otherwise you are going to need changing lots of permissions
to allow you to do this, which sort of defeats the object of
having permissions anyway.