August 22, 201312 yr Need some help. So I have plex installed and plex app on my PCH. Unfortunately, to force SAMBA the developers have you put a config.xml file and create a CloudMedia folder in one of the directories of Plex Media Server. Well what happens is that plex seems to automatically delete that folder and file about every day. I think it has something to do with updating that component... Anyway, people on windows OS were able to prevent deletion of the file and folder on the OS and that solved their issues. However, I don't know how to do that on unraid. Can someone help me out? Basically I don't want PMS that is running on unraid to be able to delete that folder and file. Is there a way to do that? This isn't a move issue and everything is installed on the cache drive. This is only an issue because the popcorn hour app works this way. Appreciate your help in advance.
August 23, 201312 yr Wait what? Damn it I replied to this. [sigh] Ok I'm not writing it all again. But the crux is, I'm guessing you suffer from the mover script moving your files off the cache every night. Change the share you created to a "cache only" share and the mover will stop moving it.
August 24, 201312 yr Author Guys, this is NOT a mover script issue. Everything is set up correctly to cache only. This is sort of a work-around patch released by the PCH people to host that file on the Plex Server, but plex updates and deletes that folder... It is also present on people with Windows OS (the folder gets deleted). They don't have mover script issues... The workaround they made was to make the file read-only so now it can't be modified... I would like to do the same in unraid...
August 25, 201312 yr Author BTW, I think this should be in general support. This isn't an app-specific question. I would just like to know the general linux commands that I need to type to prevent an app from auto-deleting a file..
August 25, 201312 yr You could try to make the file immutable using the Linux chattr +i command, it should prevent even root from erasing the file.
August 27, 201312 yr Author Someone had suggested that on another forum, but that didn't work, gave me some kind of error. Do I put the file name after the +i or the folder name?
August 28, 201312 yr Haven't tried it on UnRaid, but it should be chattr +i filename you need to be in the directory of the file you want to change, or use the full path http://en.wikipedia.org/wiki/Chattr chattr [-RVf] [-+=AacDdijsSu] [-v version] files...
Archived
This topic is now archived and is closed to further replies.