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. Re: file permissions of video files written by motion
      (Dave Howorth)
   2. Re: file permissions of video files written by motion
      (Spencer Chun)


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

Message: 1
Date: Mon, 29 Jan 2018 16:45:54 +0000
From: Dave Howorth <d...@howorth.org.uk>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] file permissions of video files written by
        motion
Message-ID: <20180129164554.0d498...@acer-suse.lan>
Content-Type: text/plain; charset=US-ASCII

On Sun, 28 Jan 2018 16:09:37 -0800
Spencer Chun <spencerlh...@gmail.com> wrote:

>  Hello,
> 
> I have motion working on various Pi units. The only question is how
> to set the file permissions on the video files.
> 
> http://lavrsen.dk/foswiki/bin/view/Motion/WebHome
> [image: ScreenHunter 140.jpg]
> Currently it writes the files as
> Owner (motion) Read Write
> Group Read
> Other Read
> 
> I would like the file to be saved as 777 (all read/write).
> 
> I have a ftp/sftp app that I can ftp into the raspberrypi using pi as
> a login. I am able to see and play the files but can't delete them
> using this app because they belong to "motion" and are rw r r.
> 
> To remove these files, I use putty, login in as pi, su root then
> delete the files.

In addition to the other two ways of fixing this:
(1) running motion under the pi user, or
(2) changing the default file permissions using umask (the pi runs
linux)

you could also (3) simply ftp in and/or login to the pi as user motion,
then you would already be the ownner of the files. That's what I do.



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

Message: 2
Date: Mon, 29 Jan 2018 10:26:52 -0800
From: Spencer Chun <spencerlh...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] file permissions of video files written by
        motion
Message-ID:
        <CAPGXEkjVd97RXBM7d-RjnPXz5Pj+=2e9xz7se5_27nzoncl...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

thank you for reading my post.

I installed motion per the directions which creates a user "motion" and
starts it up at boot.

I cannot ssh as "motion" or ftp as "motion" because for reasons unknown to
me, it does not support ssh or ftp
I can rlogin as pi,  chmod the files under root and then delete them, but
this is the step I am trying to eliminate.

To me the directions below are too vague for me (maybe not to you).  After
copying the directories over, how do I start motion as daemon under user pi?

thanks if you know the answer.

http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideInstallation

[image: Inline image 1]

On Mon, Jan 29, 2018 at 8:45 AM, Dave Howorth <d...@howorth.org.uk> wrote:

> On Sun, 28 Jan 2018 16:09:37 -0800
> Spencer Chun <spencerlh...@gmail.com> wrote:
>
> >  Hello,
> >
> > I have motion working on various Pi units. The only question is how
> > to set the file permissions on the video files.
> >
> > http://lavrsen.dk/foswiki/bin/view/Motion/WebHome
> > [image: ScreenHunter 140.jpg]
> > Currently it writes the files as
> > Owner (motion) Read Write
> > Group Read
> > Other Read
> >
> > I would like the file to be saved as 777 (all read/write).
> >
> > I have a ftp/sftp app that I can ftp into the raspberrypi using pi as
> > a login. I am able to see and play the files but can't delete them
> > using this app because they belong to "motion" and are rw r r.
> >
> > To remove these files, I use putty, login in as pi, su root then
> > delete the files.
>
> In addition to the other two ways of fixing this:
> (1) running motion under the pi user, or
> (2) changing the default file permissions using umask (the pi runs
> linux)
>
> you could also (3) simply ftp in and/or login to the pi as user motion,
> then you would already be the ownner of the files. That's what I do.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38032 bytes
Desc: not available

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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

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 139, Issue 17
********************************************

Reply via email to