Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!um-math!emv From: emv@math.lsa.umich.edu (Edward Vielmetti) Newsgroups: comp.unix.questions Subject: Re: uudecode - permission denied Message-ID: <717@stag.math.lsa.umich.edu> Date: 6 Jul 89 01:01:52 GMT References: <1250@servax0.essex.ac.uk> Sender: usenet@math.lsa.umich.edu Reply-To: emv@math.lsa.umich.edu (Edward Vielmetti) Organization: University of Michigan Math Dept., Ann Arbor Lines: 18 UUCP-Path: {mailrus,umix}!um-math!emv In article <1250@servax0.essex.ac.uk> peter@essex.ac.uk writes: >Can someone please explain what I/we are doing wrong? >I find that to get uudecode to work, the file that I expect it >to create must already exist and have the 020 bit set in its mode. >Or uudecod states "file: Permission denied" This bit here a few days ago. uu*code ship as setuid to uucp, which is why you get the Permission denied message. chmod the thing so that it's normal and you'll be all set. Note that there has been a bit of work on uuencode/uudecode (mostly on the part of people on micros and on bitnet) to cope with file mangling a bit more gracefully. I don't have pointers to the latest and greatest, tho. --Ed