LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 01: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, 01:55 PM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:55 AM
unexpected reboot - linux server - centos 5.1 - cPanel / WHM GiotisSL Linux - Server 1 03-28-2008 06:42 PM
I installed webmin with usermin on centos 5 centosfan Linux - Server 6 01-10-2008 04:40 PM
CentOS with webmin Bassboom Linux - Newbie 7 11-15-2006 12:33 PM
a few problems with centos 3.3 / cpanel cz1179 Linux - General 0 01-24-2005 06:51 PM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration