Posted on: 03/12/03 11:09am
By: Anonymous (Anonymous)
what must i set my permission to be for my images folder because i receive an eoor msg when i try to delete an image of an article saying to check my permission...which folder and what permission? meaning chmod to what number?
images set to what permission?
Posted on: 03/13/03 08:58am
By: vinny
Since the image file is created by the webserver, in order to delete it from the shell you must either be logged in as the owner (probably one of nobody, apache, or httpd depending on your config) or you must be root.
Alternatively you can write a quick php script that uses the unlink() php function to delete a file, then access that script from the web. i.e.
<?php
unlink(/path/to/file);
?>
-Vinny