-
-
Notifications
You must be signed in to change notification settings - Fork 6
OS Permissions
The user Emby/Jellyfin runs as; needs to have permissions to delete the media files from the disk they live on. MUMC sends an API request to Emby/Jellyfin to delete the media from the disk.
- If Emby/Jellyfin do not have permissions to delete media files from the disk:
- You will NOT get errors when
REMOVE_FILES: false.- No delete API calls are sent to Emby/Jellfin.
- You will get errors errors when
REMOVE_FILES: true.- Delete API calls are sent to Emby/Jellfin.
- You will NOT get errors when
What the error looks like in the server logs.
What the error looks like in the console output.
For anyone else who may run into this issue; as @clara-j mentions you will need to add the user emby to the group that has permissions to delete your media and then make the group permissions for that folder rwx. BUT, this will also give any other users in your group rwx permissions allowing them to delete media.
The better option is to specifically give the user emby rwx permissions using an Access Control List (ACL).
Create an ACL to specifically give the user emby permission to delete media without giving every user in the group owning the media folder(s) permission to delete media.
Setup an ACL giving the user emby permission to del for each media_item to be deletedete existing media files:
setfacl -m u:emby:rwx -R /path/to/your/media/folderSetup a defualt ACL giving the user emby permission to delete future media files:
setfacl -d -m u:emby:rwx -R /path/to/your/media/folderAdd user emby to your group. Replace _yourgroupname_ with the name of the group that owns your media folder(s).
usermod -a -G yourgroupname embyChange the permissions of your media folder(s) so anyone in _yourgroupname_ can delete media.
chmod -R g+rwx /path/to/your/media/foldersudo zfs set aclinherit=passthrough PoolName/zfsNamesudo zfs set acltype=posixacl PoolName/zfsNameAdditional Information - MUMC extras.
- MUMC wiki
- Install
- Files & Directories
- Terminology
- Configuration File Examples
- Configuration Tree
-
Additional Information
- OS Permissions
- Configuration Builder/Editor
- Played And Created Filter Statement Breakdown
- Played And Created Filter Tag Breakdown
- Dangerous Filter Statements
- Behavioral Statement Breakdown
- Behavioral Tag Breakdown
- Blacklisting vs Whitelisting
- Blacktagging vs Whitetagging
- Library Matching byId vs byPath vs byNetworkPath
- Minimum Episodes vs Minium Played Episodes
- Conditional Behavior Priorities
- Media Mangers
- Command-Line Arguments
- Make MUMC Run FASTERRRRRR!!!
- Known Limitations