Kodi Community Forum
Fail deleting from SMB share - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Fail deleting from SMB share (/showthread.php?tid=43460)



Fail deleting from SMB share - inuse - 2009-01-09

ATV 2.3, XMBC BF1

07:55:15 T:2684407808 M: 45895680 ERROR: Delete - Error( Permission denied )
07:55:15 T:2684407808 M: 45895680 ERROR: Delete - Error deleting file smb://KURAINAS/media/episodes/TestShow.avi
07:55:15 T:2684407808 M: 46796800 WARNING: GetLabel - Unknown nodetype requested 12
07:55:16 T:2684407808 M: 47038464 WARNING: GetLabel - Unknown nodetype requested 12

I'm not sure if the last two lines are relevant or not.

TestShow.avi is chmod'd 666

Any ideas?


- Krieg - 2009-01-09

Permissions on the directory itself (smb://KURAINAS/media/episodes)


- inuse - 2009-01-09

Code:
root@KuraiNAS:~$ ls -l /mnt/500GBRaid1/video/
drwxr-xr-x    4 1000     1000         4096 Dec 31 19:17 cinema
drwxrwxrwx   37 1000     1000         4096 Jan  1 12:53 episodes
drwxrwxr-x    2 root     47           4096 Mar  5  2004 lost+found
-rw-rw-rw-    1 root     47              0 May 16  2007 nfslockfile.lock

Deletes have worked in the past, but not consistently.


Solved! - inuse - 2009-01-14

Problem was that samba server was running as nobody:nogroup. I changed it to run as the files's owner, and now things work as expected.