I have a script that runs and uses youtube-dl to grab video files and tosses them into /mnt/md0/YouTube where Plex can pick them up. Problem is, when YouTube-dl runs and places the videos files in the YouTube folder, Plex refuses to see them because they come over as rwxr--r--. If I issue the following command:
Code: Select all
sudo chmod -R 775 /mnt/md0/YouTube/
Code: Select all
umask=0002
Or, is there a way to set some sort of default umask at the directory level so that ANY FILE OR FOLDER placed in /mnt/md0/whatever, gets added as 775?