Comment #1 on issue 20882 by heiko.pr...@googlemail.com: MOZ_PLUGIN_PATH is  
handled incorrectly
http://code.google.com/p/chromium/issues/detail?id=20882

I can confirm the issue Elias has encountered. I've got an fix also. Could  
need some cleaning/sanitizing but it's pretty good working so far. See the
attachment for the patch against repository revision 25302.

Strace no shows proper directory accesses:

$ env
MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:/op
t/nsbrowser/plugins:/opt/netscape/plugins chrome --enable-plugins
about:plugins

[pid  9441] open("/usr/lib64/mozilla/plugins", O_RDONLY|O_NONBLOCK| 
O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid  9441] open("/usr/lib64/nsbrowser/plugins", O_RDONLY|O_NONBLOCK| 
O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid  9441] open("/opt/nsbrowser/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY| 
O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid  9441] open("/opt/netscape/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY| 
O_CLOEXEC) = 44
[pid  9441] open("/opt/netscape/plugins/libflashplayer.so", O_RDONLY) = 44
[plugin successfully loaded hereafter]

Kind regards,

     heiko.

Attachments:
        webkit_glue_plugins_pluginslistlinux.patch  1.1 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to