nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Call for testing of nmh 1.7 release candidate 3

2017-08-25 19:34:16
 + localuser:kevinc being removed from access control list

I dug into this a bit more.  What is your SHELL?  Specifically, what
is the "SHELL" environment variable set to?

Boy, I just took a look at whatnowsbr.c, specifically how "cd", "pwd",
and "ls" work.  Talk about knowing how the sausage is being made ...

Anyway, those commands invoke the user's shell instead of using /bin/sh,
so if you use another shell the xhost command might get invoked that
way.  Really, it's doing things like:

        $SHELL -c "cd&&pwd"

If that still prints out the xhost line if you do that from the command
line, then that's the problem.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>