#1  
Old 24th April 2007, 17:45
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup with rsync

Hi!

I'm running ISPConfig on Fedora Core 5.
I have another Fedora installation which I will use for backup.

In ISPConfig all dirs under /var/www is owned by web1/2/3....

I connect to the ISPConfig server with the user "john". But "john" hasn't access to the /var/www folders. I get the message: "rsync: opendir "/var/www/web1/ftp/incoming" failed: Permission denied (13)" on all dirs.

I have tried to:
usermod -G apache/root john

but continue to get the samme error
Anyone who has a solution? Thx
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2007, 00:31
aqua aqua is offline
Member
 
Join Date: Mar 2006
Posts: 60
Thanks: 4
Thanked 3 Times in 3 Posts
Default

have you checked that john now actually has root powers?

I come mainly from the debian camp, but perhaps you can do sudo john, and then check whoami to see if john does have root powers.

aqua
Reply With Quote
  #3  
Old 25th April 2007, 10:26
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

whoami output for user "john":
john

How do I assign a group for john, like root?
Reply With Quote
  #4  
Old 25th April 2007, 10:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
 
Default

I guess you will have to run the rsync job with root priveliges. I recommend to do this over SSH with e.g. key based authentication.

I just googled a bit, maybe this howto helps you. If I remember correctly, there might be a howto on howoforge too that Falko has written some time ago.

http://troy.jdmz.net/rsync/index.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync: opendir "/var/www/web44/web" failed: Permission denied (13) adrenalinic HOWTO-Related Questions 7 4th August 2009 13:16
rsync backup ... the restore. gabrix HOWTO-Related Questions 6 21st January 2007 14:52
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
ISPConfig Backup problem gzero General 5 27th November 2006 09:48


All times are GMT +2. The time now is 21:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.