2018-03-09, 11:49
Hi all,
I'm setting up a Raspberry Pi 3 with set of pre-loaded videos, and I want to make sure the person receiving the RasPi cannot delete the videos.
I'm using OpenELEC 8.0.4, so it running Kodi 17.3.
I can make the videos undeletable by ssh'ing into the unit and chmodding the videos to read-only (444).
HOWEVER, once I have the Media source setup correctly in the unit, I can still edit and/or delete the media source. I've tried setting the /storage/.kodi/userdata/sources.xml to read-only (444), but that didn't seem to work, as I could still delete the media source.
In Kodi, how can I prevent modifying or deleting a Media Source?
(I don't have any issues if I would need to hand-modify any xml settings via ssh, I just need to make sure that the videos are easily accessible)
I'm setting up a Raspberry Pi 3 with set of pre-loaded videos, and I want to make sure the person receiving the RasPi cannot delete the videos.
I'm using OpenELEC 8.0.4, so it running Kodi 17.3.
I can make the videos undeletable by ssh'ing into the unit and chmodding the videos to read-only (444).
HOWEVER, once I have the Media source setup correctly in the unit, I can still edit and/or delete the media source. I've tried setting the /storage/.kodi/userdata/sources.xml to read-only (444), but that didn't seem to work, as I could still delete the media source.
In Kodi, how can I prevent modifying or deleting a Media Source?
(I don't have any issues if I would need to hand-modify any xml settings via ssh, I just need to make sure that the videos are easily accessible)