HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   backup with rsync (http://www.howtoforge.com/forums/showthread.php?t=12294)

marra87 24th April 2007 18:45

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

aqua 25th April 2007 01:31

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

marra87 25th April 2007 11:26

whoami output for user "john":
john

How do I assign a group for john, like root?

till 25th April 2007 11:44

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


All times are GMT +2. The time now is 11:30.

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