I have a script that, when the user asks for it (by pressing a button on a form on which there is nothing else), reads data from my database, based on the identity of the user that initiated the request, constructs a PDF from the data, and stores the pdf in a subdirectory ('misc') of htdocs. I have followed the practice recommended by Apache of not making htdocs itself writeable by my scripts. After creating /srv/www/htdocs/misc, I applied 'chrgp www /srv/www/htdocs/misc' and 'chmod 755 /srv/www/htdocs/misc'. I do not know if there is a better option. But what is critical is that Apache can serve the PDF my script has created. Because of the number of such PDFs, they are organised into subdirectories (four digit year) and sub-sub-directories (two digit month). NB: This script works fine on any flavour of Windows (though some may argue about the security, or lack thereof, on Windows, in allowing cgi scripts write data to htdocs). In any event, what happens is that on my OpenSuse Linux box, the script in question dies the moment it tries to create the target subdirectory, complaining that permission is denied. For the perl programmers reading this, I am using the function 'mkpath' in the Perl package 'File::Path'. What magical incantation do I need to invoke to have this script working on my Suse box? I am asking here because I believe it is a problem with permissions on /srv/www/htdocs/misc and that it is not a programming problem per se. I did try googling, and tried the 'solutions' I found in that search, but none of the 'solutions' worked (what I give at the beginning of this note is one of those 'solutions'. Any aide would be appreciated. Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org