Subject: operating-dir bug?

From: LLC Tim Maletic <[email-masked]>
Date: Sun, 12 Oct 1997 16:37:26 -0400 (EDT)

Dear All,

(I posted this to comp.mail.pine early last week and met with a resounding
silence.  Perhaps the truly sympathetic souls live on pine-info? :)

I'm running Pine 3.96 on Solaris 2.5.1.  I'd like my users to be
restricted to their ~/mail directories, so I configured Pine's
operating-dir accordingly. 
 
The problem is that now we get errors like "Can't save to file outside of
[~]/mail" when we try to save attachments and the like.

(Here's an example.  Suppose I execute pine from my ~/mail directory, and
then try to save an attachment called mail.gz.  Pine courteously asks:
"Copy attachment to file in current directory: mail.gz", and that sounds
good so I hit return to accept.  Pine then says: "Can't save to file
outside of [~]/mail".  Well, I know that.  But I'm *not* trying to save to
a file outside of ~/mail!  To get it to work, I have to laboriously edit
"mail.gz" to read "~/mail/mail.gz", and that's a kludge I can't live
with.)
 
What gives?  Is my configuration screwed up?  Or is this a known bug?  (I
call it a bug, because if operating-dir is defined, it should be used as
the default for all user-related disk i/o, right?) 
 
Any and all help greatly appreciated.  (But please respond to me directly;
I'm not on pine-info.)  Thanks!
 
Tim Maletic

---

From: Edward M Greshko <[email-masked]>
Date: Mon, 13 Oct 1997 06:00:25 +0800 (GMT)

> silence.  Perhaps the truly sympathetic souls live on pine-info? :)

Probably....  :-)

> I'm not on pine-info.)  Thanks!

Don't you also want to set "default-saved-msg-folder"?

Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
PGPKey-ID:CA3AFA5D  Fingerprint: 2DE6 5527 144E D1BC  3C55 9FA5 518E 52EE

---

From: Noone Special <[email-masked]>
Date: Mon, 13 Oct 1997 09:45:20 -0500 (EST)

Modern man is the missing link between apes and human beings.

> Don't you also want to set "default-saved-msg-folder"?
Actually, I think that will just set what folder messages are saved to by
default.. He wants to change the default saved attachment folder.

The problem Tim is running into is that pine wants to save to his current
directory (the directory he was in when he started pine) which may or may
not be in the tree of their mail directory.  He can either create a front
script to put them in their mail directory (not advisable, users could
still just run pine without the script if they know where to find it) or
find the option in pine that controls the default directory to save
attachments.

Actually, after reading more closely, I see that he already has that
option set (operating-dir)  In that case, check this setting out:

feature-list             =
            Set        Feature Name
            ---   ----------------------
            [ ]  allow-talk
            [ ]  assume-slow-link
            ...  .........  
            [ ]  tab-visits-next-new-message-only
>>>>>>>     [ ]  use-current-dir
            [ ]  use-sender-not-x-sender
            [ ]  use-subshell-for-suspend

Pat