From: Austin S. <te...@gb...> - 2002-04-01 18:10:27
|
On Mon, Apr 01, 2002 at 09:44:12AM -0500, Hal Vaughan wrote: > I have a program that uses Expect. Everything has been working fine while I > have been running it on my own system (which is part of a lan). > > I am preparing a system that will go in a client's office. It's running > Mandrake 8.2 and I set the security level at Paranoid (I don't want to be the > one at fault if anything happens to their lan!). I copied the program over > to their system (using sneaker-net and a floppy). I had to go in as root to > compile and add all the modules (Expect, Stty, Pty). Then I changed the > permissions on the perl library files for global read. Now when I run the > program as root, it works, but when I run it as a "normal" user, I get > "not-found" errors (exact text included at bottom). I've made sure the > stty.* and Tty* files have had their permissions changed (same with Expect), > so they can be read by all. > > What am I not doing? Is there another file I need to change the permissions > on? I would think so, since root has no problem running this program. > > Thanks! > If I had to guess I'd say that your root user probably has a paranoid umask of 077 or similar. I would check the permissions of /usr/lib/perl5/site_perl/ and make sure everything is readable by other, or just run a blanket chmod -R og+rx /usr/lib/perl5/site_perl/. That should be safe unless you've installed modules with embedded passwords or other such silliness. Austin |