BackupPC-users

Re: [BackupPC-users] Different UID numbers for backuppc on 2 computers

2011-07-13 01:22:56
Subject: Re: [BackupPC-users] Different UID numbers for backuppc on 2 computers
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 13 Jul 2011 06:20:29 +0100
On Wed, 2011-07-13 at 03:30 +0200, Holger Parplies wrote:
> right. I checked my /etc/backuppc, and it was owned by root:root (as it should
> be ;-), but then, I'm still using BackupPC 2.1.2. The web configuration editor
> needs write access to the config files if it is supposed to work, so I see why
> ConfDir would be owned by backuppc for any 3.x version. I wonder how the 
> Debian
> 3.1.0 package handles that ... it probably puts the config files under /var 
> :).

No, they remain under /etc:

root@venkman:~# ls -la /etc/backuppc/
total 260
drwxr-xr-x   2 backuppc www-data  4096 2011-07-08 20:45 .
drwxr-xr-x 102 root     root      4096 2011-07-13 03:40 ..
-rw-r--r--   1 backuppc www-data   666 2011-07-01 20:56 apache.conf
-rw-r-----   1 backuppc www-data 80317 2011-07-08 20:44 config.pl
...

The files are readable by the web server, but owned by backuppc. It's
the daemon which runs as itself, using setuid:

root@venkman:~# ls -la /usr/share/backuppc/cgi-bin/
total 12
drwxr-xr-x 2 root     root     4096 2011-07-01 21:20 .
drwxr-xr-x 8 root     root     4096 2011-06-29 14:28 ..
lrwxrwxrwx 1 root     root        8 2011-06-29 14:28 image -> ../image
-rwsr-x--- 1 backuppc www-data 3993 2011-06-30 09:46 index.cgi


Regards,
Tyler

-- 
"You think that a wall as solid as the earth separates civilization from
barbarism. I tell you the division is a thread, a sheet of glass. A touch
here, a push there, and you bring back the reign of Saturn."
   -- John Buchan


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/