CC-3299: Media monitor should not change the owner of watched files
- Media Monitor will try to set files to world readable upon adding
This commit is contained in:
parent
33fcbddcb9
commit
9ae0bed01a
2 changed files with 7 additions and 5 deletions
|
@ -192,7 +192,7 @@ class AirtimeNotifier(Notifier):
|
|||
full_filepath = path+"/"+filename
|
||||
|
||||
if self.mmc.is_audio_file(full_filepath):
|
||||
if self.mmc.has_correct_permissions(full_filepath):
|
||||
if self.mmc.set_needed_file_permissions(full_filepath, False):
|
||||
self.logger.info("importing %s", full_filepath)
|
||||
event = {'filepath': full_filepath, 'mode': self.config.MODE_CREATE, 'is_recorded_show': False}
|
||||
mm.multi_queue.put(event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue