Unable to Delete Media Files
#1
I just upgraded my iPad 2 to iOS 8.1.2. I installed the latest version of Kodi. All seems fine, but when I bring up the context menu and select "Delete" nothing happens. The file remains both in the Kodi file list and on the iPad.

Any ideas?
Reply
#2
debug log (wiki) when trying to delete a file
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Here it is: http://xbmclogs.com/show.php?id=419130

The key line is:
WARNING: Delete: Can't access file "/var/mobile/Media/Movies/Movies/Commercials.avi"

But according to iFile that file is right where it's supposed to be (and the "Movies\Movies" part of the path is correct).
Reply
#4
You don't have sufficient permissions to delete those files. Most likely you copied those by using the root user instead of user "mobile".

Login via ssh and do as follows

Code:
chown -R mobile /var/mobile/Media/

After that the deletion should work. If not in addition do

Code:
chmod -R u+w /var/mobile/Media/
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
Thanks for the tip. I had no idea that the different paths led to different permissions.

All fixed now.
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to Delete Media Files0