* rcp between machines gets stty:tcgetattr error
@ 1997-05-06 4:00 David Sutherland
1997-05-07 4:00 ` David Sutherland
1997-05-10 4:00 ` Mike O'Connor
0 siblings, 2 replies; 3+ messages in thread
From: David Sutherland @ 1997-05-06 4:00 UTC (permalink / raw)
I'm trying to copy the file "aaa" from the machine PTWCMX1 to PTWCMX2 as
user "ptw" but get the following error:
PTWCMX1:ptw> rcp aaa ptw@ptwcmx2:/usr/local/ptw
stty: tcgetattr: Permission denied
Running the same command as root user successfully copies the file only if
I leave out the "ptw@" part. Any ideas? Note that "rsh ptwcmx1 date"
gives a similar error as user ptw, but the command actually executes
properly.
Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rcp between machines gets stty:tcgetattr error
1997-05-06 4:00 rcp between machines gets stty:tcgetattr error David Sutherland
@ 1997-05-07 4:00 ` David Sutherland
1997-05-10 4:00 ` Mike O'Connor
1 sibling, 0 replies; 3+ messages in thread
From: David Sutherland @ 1997-05-07 4:00 UTC (permalink / raw)
Turns out there was an errant "stty erase '^?'" at the bottom of the .cshrc
file. No problems now.
David Sutherland <davidsu@sa-cgy.valmet.com> wrote in article
<01bc5a77$a1afc3b0$cc020001@davidsu>...
> I'm trying to copy the file "aaa" from the machine PTWCMX1 to PTWCMX2 as
> user "ptw" but get the following error:
>
> PTWCMX1:ptw> rcp aaa ptw@ptwcmx2:/usr/local/ptw
> stty: tcgetattr: Permission denied
>
> Running the same command as root user successfully copies the file only
if
> I leave out the "ptw@" part. Any ideas? Note that "rsh ptwcmx1 date"
> gives a similar error as user ptw, but the command actually executes
> properly.
>
> Dave
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rcp between machines gets stty:tcgetattr error
1997-05-06 4:00 rcp between machines gets stty:tcgetattr error David Sutherland
1997-05-07 4:00 ` David Sutherland
@ 1997-05-10 4:00 ` Mike O'Connor
1 sibling, 0 replies; 3+ messages in thread
From: Mike O'Connor @ 1997-05-10 4:00 UTC (permalink / raw)
In article <01bc5a77$a1afc3b0$cc020001@davidsu>,
David Sutherland <davidsu@sa-cgy.valmet.com> wrote:
:I'm trying to copy the file "aaa" from the machine PTWCMX1 to PTWCMX2 as
:user "ptw" but get the following error:
:
:PTWCMX1:ptw> rcp aaa ptw@ptwcmx2:/usr/local/ptw
:stty: tcgetattr: Permission denied
:
:Running the same command as root user successfully copies the file only if
:I leave out the "ptw@" part. Any ideas? Note that "rsh ptwcmx1 date"
:gives a similar error as user ptw, but the command actually executes
:properly.
Probably you have something funny in your .cshrc. You only want to do
stuff that impacts your terminal session, like stty or echo, if you're
sure that you are actually in a terminal session. "test -t" is how you
test for that.
--
Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 810-848-4481
=--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--=
"Love is deaf as well as blind! That's it!" -Merlin in the movie _Excalibur_
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-05-10 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-06 4:00 rcp between machines gets stty:tcgetattr error David Sutherland
1997-05-07 4:00 ` David Sutherland
1997-05-10 4:00 ` Mike O'Connor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox