Using wget to leverage mod_python & cheetah is a very powerful tool and
I'm quite fond of it. However, http has no knowledge of file
permissions. File permissions can be important when specifying config
files, and not just for security. As things stand now, for every file
downloaded by the $download_config_file snippet that needs non-standard
permissions, one has to specify them manually in the kickstart.
Once the file exists, I do believe that wget keeps the existing
permissions on the specified '--output-document,' thus, files
subsequently updated by koan --update-files, if they exist on the
system, won't have their permissions altered.
I would love to find a way to leverage cheetah via mod_python /and/ have
the method of file transfer preserve permissions. I'm far from
knowledgeable about apache, but to my knowledge, there is no way to
leverage mod_python with an apache ftp server. If I'm wrong, it would
seem that simply using wget with the --preserve-permissions flag would
be sufficient to achieve what I want.
Does anyone more knowledgeable about the subject have any ideas how to
make this work? I'm willing to update cobbler as necessary, I just
don't know how to go about making what I want happen.
--
Benjamin Riggs
System Staff
School of Mathematics
University of Minnesota
Show replies by date