Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-14-2007, 11:32 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Q: backups via SSH with roadblock because of APACHE permissions

Hi all, new to the community here and would appreciate any help on this.

Using some online tutorials I successfully setup a cron'd backup script.

The script will be started from Server-A, SSH into Server-B and using Rsync will transfer all my files from a specified directory over to Server-A.

Now the problem is that Server-B is running some files where apache is adding files to the server via user uploaded files. These uploaded files are listed as being owned by Apache in their permissions.

So as a result, my backup script/user cannot take these files and gets a permission denied error. I've read about various solutions that will automaticaly change the files owner from apache to root or admin or someone else, but I dont like this solution.

Is there a way I can simply give my backup user permission to read/copy apache owned files regardless of where they may be ?

Old 06-14-2007, 04:57 PM   #2
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
You could make your user part of the group apache is in. Or create a group and put them in there. I imagine though you all ready have something similar setup.

Just a quick search pulled that up.

Hope it helps some and Welcome to Linux Questions!

Last edited by lord-fu; 06-14-2007 at 04:58 PM.


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
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 10:25 AM
LXer: Create Incremental Snapshot-style Backups With rSync And SSH LXer Syndicated Linux News 0 08-13-2006 09:21 PM
AWStats on Suse 9.2: install roadblock frisco-driver SUSE / openSUSE 0 10-16-2005 11:46 PM
unattended, *secure* ssh backups offline Linux - Security 1 10-10-2004 10:32 PM
The Great Linux Roadblock Lostman Linux - General 4 11-04-2003 05:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration