uudecode - permission denied
Sean Malloy
malloy at nprdc.arpa
Sat Jul 22 03:16:23 AEST 1989
In article <26040 at agate.BERKELEY.EDU> ked at garnet.berkeley.edu (Earl H. Kinmonth) writes:
>In article <1250 at servax0.essex.ac.uk> peter at 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"
>Whether it is correct or not, that's the way it works on the SUN I use.
>Fortunately, the uuencode/uudecode source code is readily available
>without this particular "feature" of the SUN implementation. Get a copy
>of the code, compile it, and place it in a directory where it will be
>found ahead of the system uuencode/decode.
I had the same problem on our Suns, and after a little looking around,
discovered that uudecode is setUID to 'uucp' -- which can't write into
your directories to create the uudecoded file, so you get the file
create failure.
What I wound up doing was making one directory where all the uuencoded
files got stored, which had its permission value set to 777. Uudecode
is perfectly happy writing files into it, and aside from having the
file owned by uucp, everything is fine.
Sean Malloy | "The proton absorbs a photon
Navy Personnel Research & Development Center | and emits two morons, a
San Diego, CA 92152-6800 | lepton, a boson, and a
malloy at nprdc.navy.mil | boson's mate. Why did I ever
| take high-energy physics?"
More information about the Comp.unix.questions
mailing list