For about the past week I’ve been running into a problem where I create a nice tar’ed and gziped archive to using in the post install phase of a kickstart install I’ve been working on but it doesn’t get transferred over to the installed client and displays an HTTP error code of 403 when I look at the access.log.
My first though was permissions. I made sure the owner of the processe running lighttpd also owned the files in question and the read bit was set for anyone to access it. That didn’t do the trick. My work around was untar gzipping the archive and recreating it on the server. That worked until this afternoon. It was then that I did a little more testing and as it turned out lighttpd was not happy with tar gziped archives created using Fedora 12’s tar with the ‘z’ flag passed as an argument. So I decompressed all the tar files using gzip, then gzipped them again using gzip instead of the built in gzip functionality of tar. That did they trick.
Hopefully google will find this post, index it well and it can help someone else.