Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-21-2008, 08:55 PM   #1
LQ Newbie
Registered: Mar 2007
Distribution: Suse
Posts: 21

Rep: Reputation: 15
Permission denied after backup via admin area of my shop

Hi all,
I have a permissions problem after backing up my website. Lateley when I back my database up via the admin panel and then try to back up the files via ssh I get the following error message:

tar: XXXXX/admin/backups/db_osrunXXX-2008011307XXX.sql: Cannot open: Permission denied
tar: Error exit delayed from previous errors

I use putty to log into my Debian server and the use the tar -cf command to back up the entire directory. Usually this works fine, I have been doing this for months. But now I only get that error message.
I tried restarting the Server and restarting the apache (apache2ctl restart) but nothing helps.
I would really appreciate any ideas...

My system:
Linux 2.6.9-023stab046.2-smp
MySQL 4.1.13
Apache/2.0.54 (Linux/SUSE)
Old 01-21-2008, 09:23 PM   #2
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
What are the permissions and ownerships of all the directories starting from /root to way down to the backups directory which has the SQL dump ?

What is the exact command and your username you're using to create the backup using tar ?
Old 01-22-2008, 08:17 AM   #3
LQ Newbie
Registered: Mar 2007
Distribution: Suse
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you for your input but I found a way to circumvent this on my own.
Desperation made me just delete the database dump in question and make a new one. That solved the problem alltogether...


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
using tar for backup - error permission denied homy Linux - Software 2 06-18-2007 03:01 PM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
ls: /: Permission denied Phage Linux - General 2 10-16-2005 05:01 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:52 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