1848431 Members
5728 Online
104027 Solutions
New Discussion

Re: permissions

 
Linda Lux
Regular Advisor

permissions

I am getting this error:

sh: kermit: Execute permission denied.

on a K box running 11.0

How do I fix?

Linda
If it isn't one thing, it's another
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: permissions

Well, what are the permissions on the kermit executable?

One of my 11.0 boxes looks like:

# ll $(whence kermit)
-r-sr-sr-x 1 bin daemon 720896 Dec 7 2000 /usr/bin/kermit*

If your permissions are not the same, you have a problem.
A. Clay Stephenson
Acclaimed Contributor

Re: permissions

As root,
chown bin:daemon /usr/bin/kermit
chmod 6555 /usr/bin/kermit.

The chmod command sets the requited setuid (4000) and setgid (2000) bits.
If it ain't broke, I can fix that.
John Dvorchak
Honored Contributor

Re: permissions

Firs find what the perms are:

root> ll /usr/bin/kermit
-r-sr-sr-x 1 bin daemon 720896 Dec 7 2000 /usr/bin/kermit


if they are not like this one then use the chmod command to make them this way which is:

chmod ugo+x /usr/bin/kermit
chmod ug+s /usr/bin/kermit


If it has wheels or a skirt, you can't afford it.