home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / sysadmin / 5120 < prev    next >
Encoding:
Text File  |  1992-09-10  |  2.0 KB  |  49 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!psinews!usenet
  3. From: robin@pencom.com (Robin D. Wilson)
  4. Subject: Re: uucp "permission denied"
  5. Message-ID: <1992Sep10.194022.23325@psisa.psi>
  6. Sender: usenet@psisa.psi (News system)
  7. Reply-To: robin@pencom.com
  8. Organization: Pencom Systems Incorporated
  9. References: <1992Aug30.195150.4459@tssnext.rmNUG.ORG>
  10. Date: Thu, 10 Sep 1992 19:40:22 GMT
  11. Lines: 36
  12.  
  13. In article <1992Aug30.195150.4459@tssnext.rmNUG.ORG> bruce@tssnext.rmNUG.ORG  
  14. writes:
  15. > pete@othello.dartmouth.edu (Pete Schmitt) writes:
  16. > : Trying to use the uucp command to send a file to another
  17. > : system over a modem, and I keep getting permission denied error, even
  18. > : if the file is set to mode 777.  What am I doing wrong?
  19. > : 
  20. > I believe you'll find that sends from a directory accessable to both uucp
  21. > and the file's owner will work.  Perhaps /usr/spool/uucppublic ?  The mode  
  22. of 
  23. > the directory was likely NOT set to 777 in your testing (and at least an  
  24. execute
  25. > permission to uucp for all above it in the tree-path as specified).
  26.  
  27. On the contrary, I would bet this is caused by the shell.
  28.  
  29. I had this exact same problem, and the solution I ended up with was to quote  
  30. the source and target files.  Like so:
  31.  
  32. uucp "localfile" "remotemachine!...!file"
  33.  
  34. Best I could figure out, it has to do with the shell assigning some value to  
  35. the "!" character in the address.  (Since I came from the HDB UUCP  
  36. environment to the NeXT, and I had been using 'ksh' prior to the NeXT, the  
  37. "!" having a special meaning to my shell (or UUCP) had not affected me beofre  
  38. - took me a week to figure it out.)
  39.  
  40. --
  41. +---------------------------------------------------------------------------+
  42. |These are MY views, nobody where I work even knows I have views  ;-)       |
  43. |Internet: robin@pencom.com                                                 |
  44. |US Mail:  8-6 Brooke Club Dr.                Home Phone: (914) 923-4093    |
  45. |          Ossining, NY  10562                Work Phone: (212) 513-7777    |
  46. +---------------------------------------------------------------------------+
  47.