advertisement

Article:
  Learning the Terminal in Jaguar, Part 2
Subject:   "can not chdir"
Date:   2003-04-04 17:24:51
From:   anonymous2
Response to: "can not chdir"

The problem you are having is most likely the result of incorrect permissions on /usr/sbin/sendmail. The sendmail program is supposed to set group id not set user id.


Try ls -l /usr/sbin/sendmail. If the permissions listed at the beginning of the line are: -r-sr-xr-x that is your problem.


To fix it, issue the following commands:


chmod u-s /usr/sbin/sendmail
chmod g+s /usr/sbin/sendmail


After this an ls -l /sendmail should show permissions as:


-r-xr-sr-x 1 root smmsp 584888 Feb 22 16:53 /usr/sbin/sendmail


1 to 1 of 1
  1. "can not chdir"
    2003-04-24 15:01:12  mstrstvns [View]

    • "can not chdir"
      2004-04-13 06:39:45  evolelvis [View]

1 to 1 of 1