Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2007, 19:23
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup with rsync (permissions)

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, 13:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You must add john to the correct groups. If a folder is owned by web1, then you must add john to the web1 group, not the Apache group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th April 2007, 20:37
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
 
Default

Or you could run it as root...
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
backup with rsync marra87 Installation/Configuration 3 25th April 2007 10:44
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
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 21:32


All times are GMT +2. The time now is 20:14.


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