site  contact  subhomenews

VLC: hack to run as root

September 07, 2012 — BarryK
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/ applies the fix if vlc is installed in a running pup.

Woof commit:


re VLC hack
Username: BarryK
I fixed something, will be in next Woof commit.

Q about VLC hack
Username: 01micko
"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?

Username: BarryK
"01micko, I'm hoping that it will have no effect, applying the hack.

Re applying hack
Username: BarryK
"Anyway, the hack only gets applied in a running pup when a package is installed named vlc-nox_*

yet another solution
Username: tatemono
"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

Tags: woof