Motion - Support Question 2014x 08x 25x 113449

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
Topic revision: r2 - 30 Sep 2014, TosiaraT
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.