Re: [PHP] Gnome and MIME types



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
.



Relevant Pages

  • Re: PATH ~/bin under gnome
    ... not on the gnome environment. ... Right - ~/.bashrc works when you call stuff from the command line. ... you want to run a script that has a graphical front end (using ... If, on the other hand, you want to use a GNOME menu item or panel launcher ...
    (Ubuntu)
  • Re: DVD-RW drive
    ... I still cannot get Gnome rw tools to behave and K3b is complaining about few outdated packages which I am afraid to update since probably the Gnome depends on it but who cares. ... write anything even from the command line ... Whole behavior is even more strange since the optical drive was working flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable. ... Maybe PCBSD does this automagiclly? ...
    (freebsd-questions)
  • Re: Shutting off graphical ssh agent popup?
    ... I'm running Lenny with Gnome on my ThinkPad. ... the command line, I would get an ssh password request on the ...
    (Debian-User)
  • Re: Help !
    ... > itself (however i can correctly see the gnome panel). ... manager but invoked by startx command, you then have no gnome running ... If nobody answers, ... Fedora GNU/Linux Core 2 kernel 2.6.8-1.521smp ...
    (Fedora)
  • Re: problems w/drives and fc6 (still)
    ... If you're in Gnome, it's proabably Nautilus. ... That was a command line, ... The default Gnome file browser is Nautilus. ...
    (Fedora)