Jellyfin Forum
Not able to delete Media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Not able to delete Media (/t-not-able-to-delete-media)

Pages: 1 2


RE: Not able to delete Media - digitaltrance - 2023-12-02

From NAS user:
uid=1028(media) gid=100(users) groups=100(users),101(administrators)

Ubuntu server fstab:
//10.10.0.25/Media /media/Jellyfin cifs vers=3.0,credentials=/root/.SMBcredentials,uid=1028,gid=100

error in JF attached


RE: Not able to delete Media - digitaltrance - 2023-12-04

Logs from JF:

[2023-12-04 00:29:45.790 +00:00] [INF] Deleting item path, Type: "M", Name: "H", Path: "/media/Jellyfin/M/H.mp4", Id: cf57ab3a-0de8-54c4-c89a-76c5151b4084
[2023-12-04 00:29:45.791 +00:00] [ERR] Error processing request. URL "DELETE" "/Items/cf57ab3a0de854c4c89a76c5151b4084".
System.UnauthorizedAccessException: Access to the path '/media/Jellyfin/M/H.mp4' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---


RE: Not able to delete Media - digitaltrance - 2023-12-04

Ubuntu Server mount point:

//10.10.0.25/Media on /media/Jellyfin type cifs (rw,relatime,vers=3.0,cache=strict,username=media,uid=1028,noforceuid,gid=100,noforcegid,addr=10.10.0.25,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=812748k,nr_inodes=203187,mode=700,uid=1000,gid=1000,inode64

Shows mode 0755 for file and dir so, that should mean it has permissions, right?

Anyone?


RE: Not able to delete Media - TheDreadPirate - 2023-12-04

Since this is a NAS, you have to adjust permissions on the NAS side. AFAIK, whatever you do from the client perspective won't adjust permissions how you think it would if it were a local drive.


RE: Not able to delete Media - digitaltrance - 2023-12-04

(2023-12-04, 03:47 AM)TheDreadPirate Wrote: Since this is a NAS, you have to adjust permissions on the NAS side.  AFAIK, whatever you do from the client perspective won't adjust permissions how you think it would if it were a local drive.

Yeah, the NAS user has read/write. I just logged in as the user in the SMB for Jellyfin mount. Was able to delete directly.

The Ubuntu server should envoke the creds from the mount parameters right? Not the actual server user login.


RE: Not able to delete Media - digitaltrance - 2023-12-04

Interesting when I put the 'noperm' parameter into the fstab string it works...