[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEmacs] Tramp Bug? -- Nachtrag
From: |
Kai Großjohann |
Subject: |
Re: [XEmacs] Tramp Bug? -- Nachtrag |
Date: |
Mon, 23 Sep 2002 22:19:58 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Mark Trettin <address@hidden> writes:
> Folgendes illustriert den Fehler:
>
> ,----
> | beldin:/dev # ll null
> | crw-rw-rw- 1 root root 1, 3 Jun 17 2001 null
> | beldin:/dev # echo blah | mimencode >/dev/null
> | beldin:/dev # ll null
> | crw------- 1 root root 1, 3 Jun 17 2001 null
> `----
Folks, I need your help. As you know, Tramp tries to find out
whether various inline coding commands work. During this, it
executes something like
echo xyzzy | mimencode -b | mimencode -b -u >/dev/null
When this is done as root, the permissions of /dev/null change! (See
above.)
Isn't this really really strange?
Do you have a suggestion what to do? Hm. Well maybe the best
solution is not to redirect standard output and to hope that the
output does not contain the string "tramp_exit_status" (that string
is used to find the value of $? which tells us whether the command
was successful).
Thoughts?
(I think programs shouldn't be allowed to frob permissions of files
that output gets redirected to, especially not /dev/null. Oh, well.)
kai
--
~/.signature is: umop 3p!sdn (Frank Nobis)
- Re: [XEmacs] Tramp Bug? -- Nachtrag,
Kai Großjohann <=