LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-01-2010, 12:47 PM   #1
d60eba
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync


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!
 
Old 01-01-2010, 12:55 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

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,

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Webmin on CentOS 5.3 - i386 nandanm1 Linux - General 4 09-16-2009 06:55 AM
unexpected reboot - linux server - centos 5.1 - cPanel / WHM GiotisSL Linux - Server 1 03-28-2008 05:42 PM
I installed webmin with usermin on centos 5 centosfan Linux - Server 6 01-10-2008 03:40 PM
CentOS with webmin Bassboom Linux - Newbie 7 11-15-2006 11:33 AM
a few problems with centos 3.3 / cpanel cz1179 Linux - General 0 01-24-2005 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration