HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   backup with rsync (permissions) (http://www.howtoforge.com/forums/showthread.php?t=12299)

marra87 24th April 2007 19:23

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

falko 25th April 2007 13:48

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.

sjau 25th April 2007 20:37

Or you could run it as root...


All times are GMT +2. The time now is 00:16.

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