Re: [PHP] Gnome and MIME types
- From: nziarek@xxxxxxxxx ("Nathan Ziarek")
- Date: Fri, 30 Mar 2007 11:20:31 -0500
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
.
- Follow-Ups:
- Re: [PHP] Gnome and MIME types
- From: Edward Vermillion
- Re: [PHP] Gnome and MIME types
- References:
- Gnome and MIME types
- From: "Nathan Ziarek"
- Re: [PHP] Gnome and MIME types
- From: "Nathan Ziarek"
- Re: [PHP] Gnome and MIME types
- From: Edward Vermillion
- Re: [PHP] Gnome and MIME types
- From: "Nathan Ziarek"
- Re: [PHP] Gnome and MIME types
- From: "Nathan Ziarek"
- Re: [PHP] Gnome and MIME types
- From: "Nathan Ziarek"
- Re: [PHP] Gnome and MIME types
- From: Myron Turner
- Gnome and MIME types
- Prev by Date: Re: [PHP] simple page not found 404 script - PHP
- Next by Date: Re: [PHP] simple page not found 404 script - PHP
- Previous by thread: Re: [PHP] Gnome and MIME types
- Next by thread: Re: [PHP] Gnome and MIME types
- Index(es):
Relevant Pages
|