Hi,

Matthias Meyer wrote on 10.08.2007 at 22:38:56 [[BackupPC-users] Error: Wrong 
user: my userid is 33, instead of 106(backuppc)]:
> 
> chown -R backuppc:backuppc /usr/share/backuppc/
> [...]
> FileServer:~# ls -alh /usr/share/backuppc/cgi-bin/
> drwxr-xr-x 2 backuppc backuppc 4,0K 2007-06-17 18:54 .
> drwxr-xr-x 7 backuppc backuppc 4,0K 2007-06-17 18:19 ..
> lrwxrwxrwx 1 backuppc backuppc    8 2007-06-17 18:54 image -> ../image
> -rwxr-xr-x 1 backuppc backuppc 3,9K 2007-05-20 23:14 index.cgi

% chmod u+s /usr/share/backuppc/cgi-bin/index.cgi

Changing the ownership of an executable resets the setuid bit for good
reasons. You don't need to run apache as backuppc. Just make index.cgi
setuid again and you should be where you were before the uid change.

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to