[SOLVED] Re: Bug in mediathekview?

2014-07-02 Thread Hans
Hi Reo! > And this proves it. This is definitely wrong, anyone should be able to > execute dpkg. > Yeah, I already that this was the problem. I downloaded the package "dpkg" again and looked into. So I saw the wrong permissions. > BTW, to check 'stock' file permissions that should be set on a p

Re: Bug in mediathekview?

2014-07-02 Thread Reco
On Wed, Jul 02, 2014 at 10:29:35PM +0200, Hans wrote: > strace -f dpkg --print-architecture > execve("/usr/bin/dpkg", ["dpkg", "--print-architecture"], [/* 46 vars */]) = > -1 EACCES (Permission denied) Ouch. This means that user cannot execute dpkg itself. > ls -la /usr/bin/dpkg > -rwxr-x--- 1

Re: Bug in mediathekview?

2014-07-02 Thread Hans
> Aha. What about: > > strace -f dpkg --print-architecture > > > Reco See: strace -f dpkg --print-architecture execve("/usr/bin/dpkg", ["dpkg", "--print-architecture"], [/* 46 vars */]) = -1 EACCES (Permission denied) dup(2) = 3 fcntl(3, F_GETFL)

Re: Bug in mediathekview?

2014-07-02 Thread Reco
On Wed, 02 Jul 2014 21:44:29 +0200 Hans wrote: > Hi Reco! > > And the line 25 of this script reads: > > > > __arch=$(dpkg --print-architecture) > > > > Can you run 'dpkg --print-architecture' as non-root? > No. Aha. What about: strace -f dpkg --print-architecture > > Are there any files at

Re: Bug in mediathekview?

2014-07-02 Thread Reco
On Wed, 02 Jul 2014 21:44:29 +0200 Hans wrote: > Hi Reco! > > And the line 25 of this script reads: > > > > __arch=$(dpkg --print-architecture) > > > > Can you run 'dpkg --print-architecture' as non-root? > No. Aha. What about: strace -f dpkg --print-architecture > > Are there any files at

Re: Bug in mediathekview?

2014-07-02 Thread Hans
Hi Reco! > And the line 25 of this script reads: > > __arch=$(dpkg --print-architecture) > > Can you run 'dpkg --print-architecture' as non-root? No. > Are there any files at /etc/dpkg/dpkg.cfg.d that aren't readable by non- > root? No. > What are the permissions to /etc/dpkg/dpkg.cfg (should b

Re: Bug in mediathekview?

2014-07-02 Thread Reco
Hi. On Wed, 02 Jul 2014 20:06:05 +0200 Hans wrote: > LANG=C mediathekview > /usr/lib/java-wrappers/jvm-list.sh: line 25: /usr/bin/dpkg: Permission denied And the line 25 of this script reads: __arch=$(dpkg --print-architecture) Can you run 'dpkg --print-architecture' as non-root? Are there

Bug in mediathekview?

2014-07-02 Thread Hans
Hello list, I believe, there is a problem with the rights management in the package "mediathekview". When starting in KDE, mediathekview does not start at all. Starting from console, I get this: LANG=C mediathekview /usr/lib/java-wrappers/jvm-list.sh: line 25: /usr/bin/dpkg: Permission deni