[LIVE]usb auto mount and rights
#1
Hello.
I'm trying to autocopy the content of a SD to the local HD on insertion.
As I don't know how xbmc handle hal, i wrote a script with a udev rule.
The problem is the mount point is owned by xbmc and is only drwx------, so the script cannot acces the mounted SD.

Is there a way to execute a script in the hal part of xbmc, or modify the rights of the mount point ( like drwxr--r--).

thanks and please excuse my poor english ...
Reply
#2
hello.
In fact, I was wrong, it's not a right problem.

The Hal part of xbmc does not handle immediatly the event. It wait for udev to finish.
As my script use the mount point, it doesn't work ( because it's not already monted!).

I have to modify the script to return immediately after spawning a waiting task...

(hope i'me crystal clear Wink )

No way to use xmbc to run a script on media insertion ? ( like indexing )
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE]usb auto mount and rights0