2024-03-04, 10:58 PM
(This post was last modified: 2024-03-05, 12:02 AM by roycrt. Edited 7 times in total.)
With Linux
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 664 {} \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.mkv" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.mp4" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.m4v" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.avi" -exec chmod 644 -f "{}" \;
Just make sure jellyfin is a member of the directories group or be safe and do this instead of 664
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 666 {} \;
Not sure if jellyfin needs execute authority. Maybe someone will chime in on that. If it does then make directories permission 777
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 777 {} \;
example
sudo find /srv/Movies -type d -exec chmod 777 {} \;
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 664 {} \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.mkv" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.mp4" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.m4v" -exec chmod 644 -f "{}" \;
sudo find /path-to-media-directory/media-directory-name -type f -name "*.avi" -exec chmod 644 -f "{}" \;
Just make sure jellyfin is a member of the directories group or be safe and do this instead of 664
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 666 {} \;
Not sure if jellyfin needs execute authority. Maybe someone will chime in on that. If it does then make directories permission 777
sudo find /path-to-media-directory/media-directory-name -type d -exec chmod 777 {} \;
example
sudo find /srv/Movies -type d -exec chmod 777 {} \;