XBMCFreak Forum » XBMC Ubuntu & Linux

[closed]

Python scripts fail

(6 posts)
  1. woutervanwijk

    offline
    Member
    Login to Send PM

    Hello,

    I encounter this strange error when I try to run a script in "ERROR: Unable to load /home/wouter/.xbmc/temp/time.so, reason: /home/wouter/.xbmc/temp/time.so: kan segment van gedeeld object niet in het geheugen plaatsen: Bewerking niet toegestaan" (in english: cannot put shared object in memory. operation not permitted (or something like that)

    When I run xbmc as a root user, all is well. Does anybody know a solution? I run Ubuntu Karmic, and xbmc from the team-xbox ppa's.

    regards,
    wouter

    Posted 5 months ago #
  2. engibenchi

    offline
    Member
    Login to Send PM

    I think you need to change the owner of the files.
    on the command line you can do that with chown
    most likely the script folder (recursive)
    sudo chown -hR wouter:wouter /home/.xbmc/blablabla

    Posted 5 months ago #
  3. woutervanwijk

    offline
    Member
    Login to Send PM

    Thanks for the reply. I tried that, but it didn't work. I think it could be something with security-stuff like policykit or apparmor, but I'm not good at these things.

    Posted 5 months ago #
  4. Xenomes

    offline
    Moderator
    Login to Send PM

    Did you check your memory for defects? Or did you do something before the message came?

    XBMC the way life's got easier
    Posted 5 months ago #
  5. woutervanwijk

    offline
    Member
    Login to Send PM

    I found the solution. A while ago, I thought it was a good idea to mount the /home partition with the 'noexec' option, for better security. But I forgot about it. I encountered this sideeffect without thinking about the mount-option. Cost me a couple of hours... Thanks for the help!

    Posted 5 months ago #
  6. engibenchi

    offline
    Member
    Login to Send PM

    thank you for posting the solution

    Posted 5 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.