Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Log file permission denied (via prenestina)
   2. Re: Log file permission denied (Dave Blanchard)
   3. Re: Log file permission denied (MrDave)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Jan 2023 07:46:31 +0100
From: via prenestina <viaprenestina...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] Log file permission denied
Message-ID:
        <CAPKnyaWuVobjad=LqOm=nc_fmhygd5kupw3hxsa9+q9zr_z...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,

I compiled motion on raspberry. But when I sudo start the service,
following the instructions, I receive a permission denied to access
/var/log/motion. I am a bit puzzled because I started the service with sudo
... so I do not expect any permission problem.
Do you have any hint.

I apologize if this issue has already been faced already.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Mon, 16 Jan 2023 00:52:24 -0600
From: Dave Blanchard <d...@killthe.net>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Log file permission denied
Message-ID: <20230116005224.8d79b66e161b110f70af8...@killthe.net>
Content-Type: text/plain; charset=US-ASCII

May seem like a dumb question, but does /var/log/motion exist? That's the only 
thing I can think of; maybe someone else will have a better suggestion.

Dave



------------------------------

Message: 3
Date: Mon, 16 Jan 2023 00:03:14 -0700
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Log file permission denied
Message-ID: <14038060-3e52-30dd-a17f-d3308d3f0...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

The service runs as the user "motion" not sudo.? There was a patch 
submitted for this up to Debian but it hasn't been implemented.? In the 
deb packages on the release page, the service file has been updated to 
include the following line:

ExecStartPre=!/bin/chown motion:adm /var/log/motion

Alternatively, you can just 'chown' manually or specify a different 
directory.

Dave

On 1/15/2023 11:46 PM, via prenestina wrote:
> Dear all,
>
> I compiled motion on raspberry. But when I sudo start the service, 
> following the instructions, I receive a permission denied to access 
> /var/log/motion. I am a bit puzzled because I started the service with 
> sudo ... so I do not expect any permission problem.
> Do you have any hint.
>
> I apologize if this issue has already been faced already.
>
> Thank you
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 197, Issue 13
********************************************

Reply via email to