Re: [PHP] Gnome and MIME types



~ is an alias for /home/USERNAME

so it's probably trying to create it in /home/www-data



On Mar 30, 2007, at 11:20 AM, Nathan Ziarek wrote:

I'm capturing the output of exec in an array -- exec("command", $array);

Shouldn't $array have the error from bash?

Researching this more, I found this command that returns the error:

exec(gnomevfs-info file.doc 2>&1) --- gives me this:

(gnomevfs-info:27496): libgnomevfs-WARNING **: Unable to create
~/.gnome2 directory: Permission denied
Cannot initialize gnome-vfs.

So Gnome is trying to make a folder in a user directory (www-data, the
apache2 user?) that either doesn't exist or can't be created.

Any ideas on a work around for this? I don't see any way to specify
where Gnome makes this directory.

Thanks,

Nate

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

.



Relevant Pages

  • Re: Gnome users who have tried KDE: convince me!
    ... wherever you wish then access it either via an alias and alt+f2, ... gnome do, or some other method. ... Your friend, ... Sent to you from a Linux computer using Ubuntu Version 9.10 ...
    (Ubuntu)
  • Re: [PHP] Gnome and MIME types
    ... I found this command that returns the error: ... Cannot initialize gnome-vfs. ... So Gnome is trying to make a folder in a user directory (www-data, ...
    (php.general)