Subject: effective user id?

From: "Bill Johnson" <[email-masked]>
Date: Tue, 8 Jul 1997 16:52:26 EST

We are trying to run pine on Sequent ptx.  For resons having to do 
with our core application ("minotaur") and multiple terminfo's, we 
have to call pine from a script, which is shown, along with a lot of 
other stuff, below.  The problem is, I (user jack) am the only user 
who can actually use pine.  I suspect this is because I have the same 
user id and effective user id, which is also the same as the id as 
the process which calls the script which calls pine.  Other users are 
not so priveleged.

 When login judy (or anyone other than jack)
tries to run pine the first time, it opens, but reports the following
message:  "[Error saving configuration in file
"/s/users/judy/.pinerc": Cross-device link]"

On subsequent attempts, pine refuses to run.  The message is:
"The "/s/users/judy/mail" subdirectory already exists, but it
is not writable by Pine so Pine cannot run.  Please correct the
permissions and restart Pine."  This message persists even if the 
mail directory's permissions are fully open to user, group and world.

I suspect this has something to do with real user id and effective
user id, but really don't have a clue where to go from here.   All 
help is deeply appreciated.

Here is what we look like:

Entries from the password file:
minos:x:100:100:Minos,,:/s/minos:/bin/csh
jack:x:100:100:Bill Johnson:/s/users/jack:/bin/sh
judy:x:764:100:Judy:/s/users/judy:/bin/sh

/s/minos/Minotaur/Bincustom/pine:
-rwxr-xr-x    1 minos    users        474 Jul  8 15:49 pine

the script /s/minos/Minotaur/Bincustom/pine:
  SHELL="echo Shell functions not available"
  export SHELL
  trap "" 2 3
  # use the native terminfo instead of minos'
  TERMINFO="/usr/lib/terminfo"
  export TERMINFO
  # if this is a wyse60, save that, and make it be a vt100
  if test "$TERM" = "wyse60"
   then TERMWAS="wyse60"; echo "\0033~;"
  fi
  # treat all terminals as vt100
  TERM="vt100"
  export TERM
  # run pine
  /u/pine/pine3.96/bin/pine
  wait
  # if this was a wyse60, make it be a wyse60 again
  if test "$TERMWAS"="wyse60"
   then echo "\0033[42h"
  fi
  # return to minos clean
  exit 0

/u/pine/pine3.96/bin/pine:
-rwxr-xr-x    2 root     nuucp    3804656 Jun 17 10:42 pine
(don't ask; this is where the system administrator put it)

/usr/mail:
-rw-rwl---    1 minos  mail       15460 Jul  7 15:56 jack
-rw-rwl---    1 coord    mail         422 Jul  7 16:59 judy

/s/users/jack:
drwxrwx---    4 753      users       1024 Jul  7 16:58 .
drwx------   83 minos    users       1536 Aug 29  1996 ..
-rw-r--r--    1 minos    users          0 Jun 17 20:32 .addressbook
-rw-r--r--    1 minos    users       2285 Jun 17 20:32 
.addressbook.lu
-rw-------    1 minos    users       7260 Jul  7 16:59 .pine-debug1
-rw-------    1 minos    users       6517 Jul  7 16:31 .pine-debug2
-rw-------    1 minos    users       7448 Jul  7 15:56 .pine-debug3
-rw-------    1 minos    users       7448 Jul  7 15:53 .pine-debug4
-rw-------    1 minos    users      10379 Jul  7 16:58 .pinerc 
drwx------    2 minos    users        512 Jul  7 16:59 mail

/s/users/judy:
drwxrwx---    4 judy    users        512 Jul  8 15:51 .
drwx------   83 minos    users       1536 Aug 29  1996 ..
-rw-------    1 minos    users       5808 Jul  8 15:51 .pine-debug1
-rw-------    1 minos    users       5808 Jul  8 15:51 .pine-debug2
-rw-------    1 minos    users       6500 Jul  8 15:51 .pine-debug3
drwx------    2 minos    users        512 Jul  8 15:50 mail

********************
Bill Johnson
CEL Regional Library
Savannah, Georgia
********************

---

From: [email-masked]
Date: Wed, 09 Jul 1997 07:18:28 -0500

> drwx------    2 minos    users        512 Jul  8 15:50 mail
Subject: 
         Error Condition Re: Invalid request
   Date: 
         Sun, 6 Jul 1997 12:28:39 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]
    CC: 
         [email-masked]

>UNSUBSCRIBE PINE-INFO <[email-masked]>

[email-masked]: You are not subscribed to list
[email-masked]

Subject: 
         WHICH
   Date: 
         Mon, 7 Jul 1997 05:12:08 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]

[email-masked]: You are subscribed to the following lists;
if none appear, you are not subscribed to any:

Subject: 
         Error Condition Re: Invalid request
   Date: 
         Mon, 7 Jul 1997 05:07:08 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]
    CC: 
         [email-masked]

>SIGNOFF PINE-INFO

[email-masked]: You are not subscribed to list
[email-masked]

If you wish to contact a person, please send mail to
[email-masked] [email-masked] .
To get general help on Listproc, please send the command:

                                HELP

in the body of the message to [email-masked].
PS: Any subsequent requests you might have submitted in the same message
have been ignored.

I AM BEING SPAMMED BY THE PINE-INFO GROUP. I HAVE TRIED FOR OVER 3
MONTHS TO GET OFF THE LIST. NOTHING HAS WORKED. PLEASE DON'T SEND ME ANY
MORE MESSAGES, BUT IF YOU KNOW WHO TO CONTACT OR HOW TO DO IT, JUST SEND
A MESSAGE TO WHOMEVER CAN REMOVE ME FROM THE LIST. MY MAILBOX HAS
CONTAINED OVER 4,000 MESSAGES AT ONE TIME. I DON'T NEED TO TELL YOU WHAT
PROBLEMS THIS HAS CREATED. I never subscribed to the list, and they say
I'm not on it. Which is the way it ought to be, but they keep sending me
mail.

So if I'm not on the list, then I'm not sending you this message -
everything ought to be OK, huh?Subject: 
         Error Condition Re: Invalid request
   Date: 
         Sun, 6 Jul 1997 12:28:39 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]
    CC: 
         [email-masked]

>UNSUBSCRIBE PINE-INFO <[email-masked]>

[email-masked]: You are not subscribed to list
[email-masked]

Subject: 
         WHICH
   Date: 
         Mon, 7 Jul 1997 05:12:08 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]

[email-masked]: You are subscribed to the following lists;
if none appear, you are not subscribed to any:

Subject: 
         Error Condition Re: Invalid request
   Date: 
         Mon, 7 Jul 1997 05:07:08 PDT
  From: 
         University of Washington ListProcessor
<[email-masked]>
     To: 
         [email-masked]
    CC: 
         [email-masked]

>SIGNOFF PINE-INFO

[email-masked]: You are not subscribed to list
[email-masked]

If you wish to contact a person, please send mail to
[email-masked] [email-masked] .
To get general help on Listproc, please send the command:

                                HELP

in the body of the message to [email-masked].
PS: Any subsequent requests you might have submitted in the same message
have been ignored.

I AM BEING SPAMMED BY THE PINE-INFO GROUP. I HAVE TRIED FOR OVER 3
MONTHS TO GET OFF THE LIST. NOTHING HAS WORKED. PLEASE DON'T SEND ME ANY
MORE MESSAGES, BUT IF YOU KNOW WHO TO CONTACT OR HOW TO DO IT, JUST SEND
A MESSAGE TO WHOMEVER CAN REMOVE ME FROM THE LIST. MY MAILBOX HAS
CONTAINED OVER 4,000 MESSAGES AT ONE TIME. I DON'T NEED TO TELL YOU WHAT
PROBLEMS THIS HAS CREATED. I never subscribed to the list, and they say
I'm not on it. Which is the way it ought to be, but they keep sending me
mail.

So if I'm not on the list, then I'm not sending you this message -
everything ought to be OK, huh?