🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1050

Re: uucp "permission denied"

#1050
From: Robin D. Wilson
Date: Thu, 10 Sep 1992 19:40
36 lines
2146 bytes
In article <1992Aug30.195150.4459@tssnext.rmNUG.ORG> bruce@tssnext.rmNUG.ORG  
writes:
> pete@othello.dartmouth.edu (Pete Schmitt) writes:
> : Trying to use the uucp command to send a file to another
> : system over a modem, and I keep getting permission denied error, even
> : if the file is set to mode 777.  What am I doing wrong?
> : 
> 
> I believe you'll find that sends from a directory accessable to both uucp
> and the file's owner will work.  Perhaps /usr/spool/uucppublic ?  The mode  
of 
> the directory was likely NOT set to 777 in your testing (and at least an  
execute
> permission to uucp for all above it in the tree-path as specified).
> 

On the contrary, I would bet this is caused by the shell.

I had this exact same problem, and the solution I ended up with was to quote  
the source and target files.  Like so:

uucp "localfile" "remotemachine!...!file"

Best I could figure out, it has to do with the shell assigning some value to  
the "!" character in the address.  (Since I came from the HDB UUCP  
environment to the NeXT, and I had been using 'ksh' prior to the NeXT, the  
"!" having a special meaning to my shell (or UUCP) had not affected me beofre  
- took me a week to figure it out.)

--
+---------------------------------------------------------------------------+
|These are MY views, nobody where I work even knows I have views  ;-)       |
|Internet: robin@pencom.com                                                 |
|US Mail:  8-6 Brooke Club Dr.                Home Phone: (914) 923-4093    |
|          Ossining, NY  10562                Work Phone: (212) 513-7777    |
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <1992Sep10.194022.23325@psisa.psi>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinews!usenet
References: <1992Aug30.195150.4459@tssnext.rmNUG.ORG>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!psinews!usenet
From: robin@pencom.com (Robin D. Wilson)
Subject: Re: uucp "permission denied"
Message-ID: <1992Sep10.194022.23325@psisa.psi>
Sender: usenet@psisa.psi (News system)
Reply-To: robin@pencom.com
Organization: Pencom Systems Incorporated
References: <1992Aug30.195150.4459@tssnext.rmNUG.ORG>
Date: Thu, 10 Sep 1992 19:40:22 GMT
Lines: 36