[SLUG] Silent failure as normal user

Gavin Baker gavbaker at acm.org
Fri Sep 22 10:25:45 BST 2006


On 21 Sep 2006, at 12:00, Stephen O'Neill wrote:

> Hi all,
>
> I have a simple problem, but don't know of a simple solution:
>
> I have an extension for Firefox called "HTML Validator". It uses  
> some objects compiled in C which use shared libraries on my machine.
>
> When I run this extension as a normal user I get silent failures -  
> ie. nothing happens. When I run it as root it works.
>
> So, clearly I have permissions awry.
>
> I have a list of shared objects which the extension requires. But,  
> I don't want to start removing restrictions on files willy-nilly -  
> particularly as this approach could be exponential.
>
> If I was in windows I'd use "filemon" which shows every filesystem  
> access along with the outcome - success/access denied etc.
>
> What do I do if I'm in Linux?

Forgot to mention ldd, ldd <binary> shows the path to all the shared  
libs used by <binary>.

(Was gonna reply to myself, but it hasn't shown up yet and my taxi is  
due)

Good luck,
Gav






More information about the Scarborough mailing list