VLC: hack to run as root

This was discussed in the previous post:

I have put hacks into Woof to fix this. The FIXUPHACK in vlc template applies the fix if a pup is built with vlc. The script /usr/local/petget/hacks-postinstall.sh applies the fix if vlc is installed in a running pup.

Woof commit:

Posted on 7 Sep 2012, 17:24


Posted on 8 Sep 2012, 2:11 by BarryK
re VLC hack
I fixed something, will be in next Woof commit.

Posted on 8 Sep 2012, 6:38 by 01micko
Q about VLC hack
Hi Barry

Vlc has the option '--enable-run-as-root' which anyone compiling vlc for puppy uses. Any idea how your hack would affect the binary produced in that circumstance?

Posted on 8 Sep 2012, 8:14 by BarryK
I'm hoping that it will have no effect, applying the hack.

Posted on 8 Sep 2012, 8:17 by BarryK
Re applying hack
Anyway, the hack only gets applied in a running pup when a package is installed named vlc-nox_*

Posted on 9 Sep 2012, 17:25 by tatemono
yet another solution
My PC runs DRAKE PUPPY 0.3 and VLC v1.1.12 was installed.
In order to run VLC as root, I submitted the following 2 commands instead of hacking the executable binaries.
[1] chown fido:users /usr/bin/vlc
[2] chmod 4755 /usr/bin/vlc