I download them using qBittorrent into a folder on one computer (Linux Mint 19.1, folder: 775, file: 664), copy them up to my NAS (I can’t find the folder or file permissions), and then move them into /home/plexmedia.
I’m using the GUI to move the files around so not as sudo.
You’re suggesting that I download the files directly to the NAS folder instead of a local folder and then copying them to the NAS? But they’re 664 on my local folder so how would a move then make them 644?
Any idea what changed? My setup used to work for me with no issues and now I need to manually set the permissions so Plex can see and play them.
And since I haven’t said this in a while, thanks for all your help. I think maybe the easiest thing for me to do is set up an hourly cron job to fix the file permissions in my plexmedia folder. While I’m getting an education, I’m not sure we’re getting any closer to a fix but if you want to keep chasing this, I’m happy to give you whatever info you need.
I have my OTA captures (I live in a rural area with an actual antenna) and my captures are deposited directly on the NAS.
Knowing you are copying to the NAS, this also now makes me ask how is it mounted? NFS? SMB ? What are the mount options? SMB can make a mess of file permissions in a heartbeat.
Linux permissions do not transit SMB well at all and, now that I know this, may be the root cause. ext permissions over NFS is protocol native. SMB doesn’t understand/support what we’re doing here. SMB is singe user based. NFS is multi-user.
Here is my NFS mount line for movies. Be advised the UID for my username and plex matches on both systems so I can use sec=sys.
I use SMB to connect to my NAS drive via Caja. I don’t mount it in my fstab.
Just wondering, I thought the Automating Linux Permissions settings would make it so that when I copy/move files into my plexmedia folder(s), the permissions would be set after the copy/move so why would it matter what SMB did to the file permissions on the NAS?