Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: baz on February 26, 2010, 03:42:50 PM

Title: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: baz on February 26, 2010, 03:42:50 PM
When I boot I get 5 permission denied errors (if I showapps):

gnome-icon-theme touch: /usr/local/tce.installed/shared-mime-info: permission denied
shared-mime-info touch: /usr/local/tce.installed/gamin: permission denied
gamin touch: /usr/local/tce.installed/libnotify: permission denied
libnotify touch: /usr/local/tce.installed/hal: permission denied
hal touch: /usr/local/tce.installed/libpci: permission denied

I don't think this is causing me any issues yet, but would like to know what it is and whether there could be some repercussions from it.

Cheers,
Baz
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: Juanito on February 26, 2010, 09:35:21 PM
This probably comes from an extension with incorrect permissions on /usr/local/tce.installed - it will be the one loaded immediately before those listed with the error
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: baz on February 26, 2010, 09:39:46 PM
I think it is related to XFCE and I know it was just updated recently, perhaps something needs to be looked at in there - although it does load fine. I guess I should just make sure all those files have rw on tc:staff?
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: Juanito on February 26, 2010, 09:41:48 PM
The folder needs "chmod 775"/"chown root:staff"
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: curaga on February 27, 2010, 04:19:27 AM
First, please check you have the latest extensions. Then,
use this script to check which extension it is:

http://forum.tinycorelinux.net/index.php?topic=5139.0
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: baz on March 01, 2010, 01:29:18 PM
Fun script, I got:

Wrong perms on alsa-config
Wrong perms on gnome-icon-theme
Wrong perms on schumacher-clean-fonts

What next?
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: Juanito on March 01, 2010, 03:15:29 PM
If you're using the latest version of those extensions, then the extension maker ideally should correct the permissions, but I have a feeling that Jason has a script he can run to fix things.

If you feel at ease with handling extensions, you could fix yours locally in the meantime.
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: baz on March 01, 2010, 03:38:56 PM
I should really get into extensions, that's next on my learning list.
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: Jason W on March 02, 2010, 04:29:56 AM
Curaga's script is a little different than the check I use, as mine allows for set group id, which for tce.installed purposes is probably harmless. 
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: curaga on March 03, 2010, 07:13:53 AM
True, it was pretty quickly put up. Updated it to check for that as well.
Title: Re: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"
Post by: Jason W on March 03, 2010, 06:53:19 PM
Looking at your method, I will likely use it to reduce coreutils dependencies for running the audit script.