WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot Errors "gamin touch: /usr/local/tce.installed/libnotify: permission denied"  (Read 3355 times)

Offline baz

  • Full Member
  • ***
  • Posts: 216
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
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

Offline baz

  • Full Member
  • ***
  • Posts: 216
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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
The folder needs "chmod 775"/"chown root:staff"

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
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
The only barriers that can stop you are the ones you create yourself.

Offline baz

  • Full Member
  • ***
  • Posts: 216
Fun script, I got:

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

What next?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
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.

Offline baz

  • Full Member
  • ***
  • Posts: 216
I should really get into extensions, that's next on my learning list.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
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. 

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
True, it was pretty quickly put up. Updated it to check for that as well.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Looking at your method, I will likely use it to reduce coreutils dependencies for running the audit script.