Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Mike O'Connor <mjo@dojo.mi.org>
Subject: Re: rcp between machines gets stty:tcgetattr error
Date: 1997/05/10	[thread overview]
Message-ID: <970510235220.AA18399@dojo.mi.org> (raw)
In-Reply-To: 01bc5a77$a1afc3b0$cc020001@davidsu


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_



      parent reply	other threads:[~1997-05-10  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox