On Sat, 21 Oct 2006 22:11:55 +0200, Hisham Muhammad <[EMAIL PROTECTED]>  
wrote:

> On 10/21/06, André Detsch <[EMAIL PROTECTED]> wrote:
>> I had to perform the following change at SignProgram to be able to
>> sign a tar.bz2 package. Ok to commit?
>
> I suggest holding it. The bug relates to using SignProgram as root,
> which is not the intended use. Release_Superuser should run before any
> action is taken by the script, so it should be moved further up,
> anyway.

Having looked at the problem and patch again, I think it not has to do  
with running SignProgram as superuser, but the opposite. The tar.bz2 is  
unpacked as superuser, then the script switch to normal user and that user  
may not have access to the newly unpacked directory. The solution is to  
move Release_Superuser, to above the if-then-else, so the tar.bz2 is  
unpacked so that the normal user can access and modify the structure.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to