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 (tosiara) 2. Re: file permissions of video files written by motion (Matthew Rench) ---------------------------------------------------------------------- Message: 1 Date: Mon, 29 Jan 2018 14:33:08 +0200 From: tosiara <tosi...@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: <CACHTdwQZQqkqg9yikTq8URs9R5QmPxKE28bNNH4D=81euua...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Isn't the default file permission controlled by the operating system? Like umask for Linux On Mon, Jan 29, 2018 at 10:23 AM, Colin Law <clan...@gmail.com> wrote: > On 29 January 2018 at 00:09, 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). >> > > Can you not run motion under the user pi? > > How are you starting motion? > > Colin > > > ------------------------------------------------------------ > ------------------ > 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... ------------------------------ Message: 2 Date: Mon, 29 Jan 2018 10:27:43 -0600 From: Matthew Rench <mdre...@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: <CAG6tZM6v4=fvgykxj-arnvvbwhhwtwjwpidemywu7kzvgab...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" In this case, the permissions of the individual files are not the issue. To delete a file, you need "w" permission to the directory that the file is in. If you "chmod a+w /var/lib/motion", any user should be able to delete files in that directory. mdr On Mon, Jan 29, 2018 at 6:33 AM, tosiara <tosi...@gmail.com> wrote: > Isn't the default file permission controlled by the operating system? Like > umask for Linux > > On Mon, Jan 29, 2018 at 10:23 AM, Colin Law <clan...@gmail.com> wrote: > >> On 29 January 2018 at 00:09, 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). >>> >> >> Can you not run motion under the user pi? >> >> How are you starting motion? >> >> Colin >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 >> > > > ------------------------------------------------------------ > ------------------ > 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... ------------------------------ ------------------------------------------------------------------------------ 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 16 ********************************************