LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Youtube works with root, but not a regular user (https://www.linuxquestions.org/questions/linux-networking-3/youtube-works-with-root-but-not-a-regular-user-772018/)

Darrell22 11-27-2009 08:25 PM

Youtube works with root, but not a regular user
 
Dear Experts,

I'm running Redhat 5.2 with Firefox 3.0b5.


As root, I've installed the adobe flash player plug ins.

Youtube works with the root user.
But not non-root users.

Does anyone know the secret to fix this?

Perhaps a user specific Firefox setting?


Thanks a lot!

eth1 11-28-2009 01:50 AM

What do you see when you access a video on Youtube when logged in as a normal user ? Does Firefox ask you to install the Flash plugin ?

rikijpn 11-28-2009 03:25 AM

you usually install it as a regular user
 
Do a
Code:

find / -name libflashplayer.so
and copy that file to your ~/.mozilla/plugins dir. It has the same result that installing it as a regular user.

Maybe when you installed it as root, the file went to /root/.mozilla/plugins, which is not what you wanted (right?). If you want the plugin to be available globally (for all the users on that machine) check where the global plugins dir is, and put it over there. It's on /usr/lib/mozilla/plugins in Debian, may differ according to your distro.

Darrell22 11-28-2009 03:39 PM

Thanks. It seems to already be there.


find / -name libflashplayer.so

/download/adobe/install_flash_player_10_linux/libflashplayer.so
/usr/lib/mozilla/plugins/libflashplayer.so
/usr/lib/flash-plugin/libflashplayer.so


Any thoughts? Thanks again.

nimnull22 11-28-2009 08:35 PM

When you install adobe flash player from root. They was installed (I think) with OWNER = root, and run then then probably can only OWNER. So you have to check rights for that files. If you have MC (midnight commander), go to that dir, choose file and from upper menu in the FILE tab choose "chmod" and check how can execute them.

May be you need to copy them you your home directory, but where Firefox will find them and then change permissions. Add "execute/search by others"

Darrell22 12-04-2009 12:05 AM

The crazy thing is that I made a new user.
And Youtube worked perfectly fine for that new one.


But not for the old one.
However, that problem is solved now.



Here is what I did:

find / -type f -ls | grep -i "libflashplayer"

87949448 11148 -rwxrwxr-x 1 501 oinstall 11396840 Nov 13 09:12
/download/adobe/install_flash_player_10_linux/libflashplayer.so

40799251 88 -rwxr-xr-x 1 root root 80500 Jul 20 15:21
/usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

40927391 10056 -rwxrwxrwx 1 root root 10278616 Jul 17 20:10
/usr/lib/flash-plugin/libflashplayer.so



find / -type l -ls 2> /dev/null | grep -i "libflashplayer"

40468762 0 lrwxrwxrwx 1 root root 39 Nov 27 16:25
/usr/lib/mozilla/plugins/libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so


chmod 777 /usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

chmod 777 /usr/lib/flash-plugin/libflashplayer.so


40799251 88 -rwxrwxrwx 1 root root 80500 Jul 20 15:21
/usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so

40927391 10056 -rwxrwxrwx 1 root root 10278616 Jul 17 20:10
/usr/lib/flash-plugin/libflashplayer.so



Log out. Login.

Reinstall flash player.

/temp/flash-plugin-10.0.32.18-release.i386 is already installed.
No packages were given for installation.


pwd
/temp

rm flash*
rm: remove write-protected regular file `flash-plugin-10.0.32.18-release.i386.rpm'? y

Remove the saved profile for the user.
Login again.

Youtube now works.
Go figure.


All times are GMT -5. The time now is 03:05 PM.