Unable to create ~/.gnome2 directory: Permission denied

Ken Pettit kpettit at big-images.com
Mon Apr 2 12:38:36 PDT 2007


I get this error while running this php script.

Error:
(process:4382): libgnomevfs-WARNING**: Unable to create ~/.gnome2  
directory: Permission denied

Code:
<?php

// Start header flush
ob_start();

// Set variables
$imPath = "/opt/local/bin";
$new_svg = $_GET['new_svg'];
$new_png = $_GET['new_png'];

//echo "images/" . $new_svg;
//echo "</br>";

// Execute shell command
system("exec 2>&1; $imPath/convert 'images/$new_svg' images/$new_png");

// Redirect to show_image.php
$redirect = "show_image.php?new_svg=$new_svg&new_png=$new_png";
header("Location: ". $redirect );
exit();

// Flush header
ob_end-flush();
?>

I new to the whole shell script world, sorry. Where do I find the  
'~/.gnome2 directory' and what should it's permissions be set to?

Thanks,
Ken...

Ken Pettit
BIG Images
2304 Broad St
San Luis Obispo CA, 93401

email:kpettit at big-images.com
phone:805-781-9301
fax:805-781-9303
it is not the past, but the future that awaits you, that determines  
who you are right now.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070402/4dabcc60/attachment.html


More information about the macports-users mailing list