db2admin has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl script which creates images(files) on a shared web server. Part of the functionality of the web site will include allowing users to delete images they no longer need.
I have tried using chmod in the perl script that creates the images but when I take a look at the image created, it shows the same (default -rw-r--r-- ). I have looked at the archives and don't see any specific pointers for allowing a nobody process to delete a file. The only suggestion I found is for deleting a temporary file that is created within the same script.
How would I delete a file that is created outside of the script?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: deleting files created via cgi
by gjb (Vicar) on Dec 07, 2002 at 23:15 UTC | |
by BrowserUk (Patriarch) on Dec 08, 2002 at 01:43 UTC | |
by gjb (Vicar) on Dec 10, 2002 at 17:44 UTC | |
by newrisedesigns (Curate) on Dec 07, 2002 at 23:26 UTC | |
Re: deleting files created via cgi
by FamousLongAgo (Friar) on Dec 07, 2002 at 23:23 UTC | |
Re: deleting files created via cgi
by dree (Monsignor) on Dec 07, 2002 at 23:31 UTC | |
by vek (Prior) on Dec 08, 2002 at 00:43 UTC |
Back to
Seekers of Perl Wisdom