Kodi Community Forum
[Linux] Is it a bug or a feature that I can delete files that I don't own - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: [Linux] Is it a bug or a feature that I can delete files that I don't own (/showthread.php?tid=77845)



[Linux] Is it a bug or a feature that I can delete files that I don't own - linuxluemmel - 2010-07-25

Hello ;-)

I 'm a bit confused ...

I created inside my addon-ripper a directory for testing with the
user root and made the directory not writeable to my xbmc user called user.

- Inside the settings from xbmc I activated "delete file" and "show hidden files"

After the change I added the directory as a video-source.
I guess this is a feature that I can delete files that do not belong to my
user ? (Tell a user to delete /lib and you have a friend less ...)

Regards Hans


- jmarshall - 2010-07-26

What is XBMC running as? You'll only be able to delete /lib if you're running as root.


- linuxluemmel - 2010-07-26

I saw my error after your little tip.
I did start /usr/local/bin/xbmc witch is only a shell-script and not a binary.
I look into the process-table with ps -axu showd me the user running was root.
I guess I should better start from my user
/usr/local/lib/xbmc/xbmc.bin
to not delete files that I'm not the owner ..
Thanks anyway jmarshall