[gobolinux-users] Error in Scripts?

Viola Zoltán violazoli at gmail.com
Fri Jun 15 22:23:37 UTC 2007


Dear Jonas, echo ${XDG_DATA_HOME} print for me nothing!
The Shared-mime-info info is for me the 0.20 version. I not fint in
/Programs any "Shared-Mime-Database" directory.

Others, it is interest: I am root, but the computer like me non-root:

vz at Csiszilla HDA6/web/Zene/Idegen/Izraeli]su -
Jelszó:
pv at Csiszilla ~]mc

pv at Csiszilla /Programs]update-mime-database $([ ${XDG_DATA_HOME} ] && echo
"${XDG_DATA_HOME}/mime" || echo "/System/Variable/mime")
update-mime-database: I don't have write permission on
/System/Variable/mime.
Try rerunning me as root.

zsh: abort      update-mime-database


(The "pv" is me the superuser).

Zoli


2007/6/15, Jonas Karlsson <jonka750 at student.liu.se>:
>
> It's not necessary to run scripts as superuser, if one set up sudo
> appropriately, therefore I had to ask.
>
> Which version of of Shared-Mime-Database do you have installed and what is
> the value of ${XDG_DATA_HOME} (do 'echo ${XDG_DATA_HOME}')? What do you
> get
> if you run
>
> update-mime-database $([ ${XDG_DATA_HOME} ] && echo
> "${XDG_DATA_HOME}/mime" || echo "/System/Variable/mime")
>
> manually? If that fails could you try
>
> update-mime-database /System/Variable/mime
>
> --
> /Jonas
>
> On Fri, 15 Jun 2007 08:19:45 +0200, Viola Zoltán <violazoli at gmail.com>
> wrote:
>
> > Of course, I run the SymlinkProgram (and Compile, DisableProgram and
> other
> > scripts) as superuser. The "pv" in the sended messages is my "root"
> user.
> >
> > Zoli
> >
> > 2007/6/14, Jonas Karlsson <jonka750 at student.liu.se>:
> >>
> >> On Thu, 14 Jun 2007 19:26:30 +0200, Viola Zoltán <violazoli at gmail.com>
> >> wrote:
> >>
> >> > pv at Csiszilla /Programs/OpenOffice]SymlinkProgram OpenOffice
> >> > SymlinkProgram: Symlinking OpenOffice 2.2.1.
> >> [snip]
> >> > /Programs/Scripts/2.6.5/bin/../Functions/GoboLinux: line 63: 10195
> >> > Aborted                 update-mime-database $([ ${XDG_DATA_HOME} ]
> &&
> >> echo
> >> > "${XDG_DATA_HOME}/mime" || echo "${goboVariable}/mime") >/dev/null
> >> > SymlinkProgram: Removing unused directories...
> >> > SymlinkProgram: Done.
> >> >
> >> > ???
> >> Do you run SymlinkProgram as superuser or regular user?
> >>
> >> --
> >> /Jonas
> >>
> >> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> >> _______________________________________________
> >> gobolinux-users mailing list
> >> gobolinux-users at lists.gobolinux.org
> >> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> >>
> >
> >
> >
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>



-- 
Honlapom: http://poliverzum.birodalom.net/powi
Fórumom: http://birodalom.net/forum

A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó
The #86 official GoboLinux-user

A GoboLinux felhasználók hivatalos magyar fóruma:
The official forum for the hungarian GoboLinux-users:
http://linux.birodalom.net/smf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gobolinux.org/pipermail/gobolinux-users/attachments/20070616/35af3336/attachment-0001.htm 


More information about the gobolinux-users mailing list