[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pkg_add permissions for Expect



Hello OpenBSDers!

I must be doing something very foolish or overseeing something very 
simple.

I'm trying to install (pkg_add, that is) expect-5.32.1 from the 2.8/m68k 
package off the ftp.openbsd.org server. Installation runs smoothly when I 
su to root. Obviously it doesn't work out when I'm just logged in as Joe 
Random Luser (the tcl-package doesn't install, cancelling out the whole 
thing).

Now the problem with my "installed-as-root" package is that it runs 
perfectly when su'ed to root, but gives me an error 
"/usr/local/bin/expect: Permission denied" when trying to run it as a 
normal user.

Permissions on /usr/local/bin/expect are     -r-x------ root wheel (which 
translates to chmod 500). So, of course I changed it to chmod 555 to make 
it run for me too. But then it complains for various libraries and parts 
one after the other.

Now: How do I install this baby so I can use it in luser-mode? Or is 
expect meant to be run just as root? Or am I supposed to find every 
library and bit and chmod it?

Thankfull for any clue you might have for me!

Regards,

Sascha



PS: This is a Macintosh IIcx with OpenBSD 2.8, 20 MB Ram, 1 Gig HD -- not 
that I think it would matter much.