I think you got that error because /data/BackupPC is owned by user 
apache.  It's supposed to be owned by user backuppc.  Same goes for any 
of its subdirectories.

-Rob

Yaakov Chaikin wrote:
> With all these side (albeit important) security issues, I never got an
> answer to my question. Why am I am getting a Permission Denied error
> and what am I doing wrong?
>
> Thanks,
> Yaakov.
>
> On 7/18/07, Rob Owens <[EMAIL PROTECTED]> wrote:
>   
>> I believe you can look in the XferLog in the web interface to see the
>> command that BackupPC attempted to run.
>>
>> I know a bit about ssh and security, but I'm relatively new to
>> BackupPC.  I've only been using it about 2 weeks.
>>
>> -Rob
>>
>> Yaakov Chaikin wrote:
>>     
>>> I am not really sure how to set this up. Does BackupPC start its own
>>> process with whatever user I specify in config.pl? If so, then I can
>>> see how this can be done, i.e., by simply specifying 'backuppc' as the
>>> user in config.pl (I think there is a place in there to do this,
>>> right? I don't have that file in front of me at the moment.) However,
>>> if BackupPC does not start its own process under the specified in
>>> config.pl user, then I am not sure how to set this up.
>>>
>>> Any help?
>>>
>>> Thanks,
>>> Yaakov.
>>>
>>> On 7/18/07, Rob Owens <[EMAIL PROTECTED]> wrote:
>>>       
>>>> You want /data/BackupPC to be owned by user "backuppc".  You shouldn't
>>>> be allowing user "apache" to do anything besides run the webserver.
>>>> User "apache" should not be allowed to log in as root.  User "backuppc"
>>>> should be allowed to log into the host machines as root (assuming you're
>>>> using rsync as your transport).
>>>>
>>>> -Rob
>>>>
>>>> Yaakov Chaikin wrote:
>>>>         
>>>>> Hi,
>>>>>
>>>>> I am running BackupPC 3.0 and having trouble getting it to back up. So
>>>>> far, I am just running a test back up on the machine that hosts the
>>>>> BackupPC.
>>>>>
>>>>> Here is the error log that I am getting when I click "Start Full
>>>>>           
>>>> Backup":
>>>>         
>>>>> **************************************
>>>>> 2007-07-17 22:26:26 User yaakov requested backup of tbiqdev (tbiqdev)
>>>>> 2007-07-17 22:26:26 tbiqdev: mkdir /data/BackupPC: Permission denied
>>>>> at //usr/share/BackupPC/bin/BackupPC_dump line 193
>>>>> **************************************
>>>>>
>>>>> The /data/BackupPC is directory where I specified I wanted the backups
>>>>> to be stored. It's owned by the apache user since this is the user
>>>>> that runs the 'httpd' server.
>>>>>
>>>>> What am I doing wrong?
>>>>>
>>>>> Thanks,
>>>>> Yaakov.
>>>>>
>>>>> P.S. I followed the instructions and set up ssh key sharing. So, now
>>>>> the user apache can log in as root without providing a password. I
>>>>> don't know if this has anything to do with that since the client and
>>>>> server is the same machine, but I figured I'd mention it.
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>>
>>>>         
>>>>> This SF.net email is sponsored by DB2 Express
>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>> http://sourceforge.net/powerbar/db2/
>>>>> _______________________________________________
>>>>> BackupPC-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>>>> http://backuppc.sourceforge.net/
>>>>>
>>>>>           
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to