From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b645da6cc7c609fe X-Google-Attributes: gid1164f8,public From: Mike O'Connor Subject: Re: rcp between machines gets stty:tcgetattr error Date: 1997/05/10 Message-ID: <970510235220.AA18399@dojo.mi.org>#1/1 X-Deja-AN: 240764044 References: <01bc5a77$a1afc3b0$cc020001@davidsu> Organization: Department of Applied Miracles Reply-To: Mike O'Connor Newsgroups: comp.sys.dec In article <01bc5a77$a1afc3b0$cc020001@davidsu>, David Sutherland 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_