backup of dir failed : Failed to open /home/USER/.virtualmin-src for writing : Permission denied

While transferring a virtual server from one host to another, I noticed that the second server had already used up the same uid. So I changed the uid/gid manually.

I also, went into httpd.conf and changed the UID/Gid for that partiulcar server to match to whatever I manually changed.

I also did the following and tried again.

`[trinitymissions@edge ~]$ chown -R trinitymissions:trinitymissions /home/trinitymissions`

chown: changing ownership of ‘/home/trinitymissions/fcgi-bin/php5.fcgi’: Operation not permitted
chown: changing ownership of ‘/home/trinitymissions/fcgi-bin/php7.0.fcgi’: Operation not permitted
chown: changing ownership of ‘/home/trinitymissions/fcgi-bin/php7.1.fcgi’: Operation not permitted
chown: changing ownership of ‘/home/trinitymissions/fcgi-bin/php7.2.fcgi’: Operation not permitted
chown: changing ownership of ‘/home/trinitymissions/fcgi-bin/php5.5.fcgi’: Operation not permitted
[trinitymissions@edge ~]$

Then, I receive this error whenever I click transfer server under virtualmin.

Transferring trinitymissions.asia to gap.a1z.us ..
Backing up to destination system ..
Creating TAR file of home directory ..
.. backup of dir failed : Failed to open /home/trinitymissions/.virtualmin-src for writing : Permission denied

.. backup to remote system failed!

.. transfer failed

I am sure I messed up the UID/GID for that particular server.

Help, I am stuck. Unable to backup the server to a second host.

Status: 
Active

Comments