Add group permittions to new files
Question
Hi.
I'm using debian 7.6.0
Motion create new files in specific folder with owner root and group "motion", but groups permisions are only access.
I can change it for existing files, but not for the new one.
How can i add create\delete group permissions to the new files created by motion?
Regards, Dmitry.
Paste in your error messages, config settings, terminal window output etc in this text field.
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
|
--
DmitryNefedov - 25 Aug 2014
Answer
You can use event script to change the permissions as you need. For example, set those config params:
on_picture_save chmod 777 %f
on_movie_end chmod 777 %f (or %f.mp4 if ext_pipe used)
--
TosiaraT - 30 Sep 2014