Hi,
I have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.
I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:
Code:
drwxr-x--- 15 ecommend nobody 4.0K Nov 29 14:56 public_html
but that doesn't work on the Webmin server which needs the following:
Code:
drwxr-x--- 16 ecommend ecommend 4.0K Jan 1 18:32 public_html
It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:
Code:
chown -R ecommend:ecommend
but as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.
So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?
Thanks!