-   Linux - Server (
-   -   Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync (

d60eba 01-01-2010 12:47 PM

Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync

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:


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:


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:


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?


EricTRA 01-01-2010 12:55 PM


I'm not sure if it's possible with rsync but I use Unison to synchronize files between servers and in my personal opinion it's a lot easier to use and has a lot more options. In my opinion worth to take a look at it.

Kind regards,


All times are GMT -5. The time now is 09:44 AM.