Send Motion-user mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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


Today's Topics:

   1. Re: I need help changing where files are saved (Thomas Drebert)


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

Message: 1
Date: Fri, 20 Dec 2019 04:59:08 +0100
From: Thomas Drebert <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] I need help changing where files are saved
Message-ID:
        <cann+32gequ9s_vq+htckfvqwvqshw3__npan0ffnotc_wp_...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hello,

for a test you can set "Custom Path" to /tmp or try /tmp/.
The access rights from tmp should look like this:
drwxrwxrwt  14 root root  320 Dec 19 17:05 tmp
You can use this command to show "dir -all -h".
"tmp" should have access for everyone.
If that works, you can create a directory you like with mkdir and test
what user motioneye run.
Commands to change  user or rights are chown and chmod.

regards
ThomasD

Am Fr., 20. Dez. 2019 um 01:10 Uhr schrieb Josh Newman <[email protected]>:
>
> Thomas,
> Thanks for responding. Motioneye does have a .conf file where it is specified 
> where files are saved. So if I'm understanding your response, I need to 
> change the .conf file to direct it to save where I want it to go, is that 
> correct? To follow up with your response, how do I give it access rights? 
> What would the path look like if I wanted it to change to save to my internal 
> hard drive? According to the installation instructions these are the steps I 
> followed to create directories and change the .conf file when I installed 
> this on my pc running Ubuntu 18.04 to act as my server, but I just copied and 
> pasted, as I don't really understand Linux file systems. Any help would be 
> appreciated. Thanks Thomas
>
> Prepare the configuration directory:
>
>  mkdir -p /etc/motioneye
>  cp /usr/local/share/motioneye/extra/motioneye.conf.sample 
> /etc/motioneye/motioneye.conf
>
> Prepare the media directory:
>
>  mkdir -p /var/lib/motioneye
>
>
> On Thu, Dec 19, 2019 at 3:21 PM Thomas Drebert <[email protected]> wrote:
>>
>> Hello Again,
>>
>> i see you can set a custom path, I think this path must also exist.
>> Your path is a path from root "/".
>> Root is like c:\data\output\Camera1\ on Windows.
>> I think you can use this path, but you must create it and give motion
>> or motioneye access rights to this directory.
>>
>> regards
>> Thomasd
>>
>> Am Do., 19. Dez. 2019 um 23:29 Uhr schrieb Josh Newman <[email protected]>:
>> >
>> > Hello,
>> >  I'm hoping someone can help me figure this out. I'm trying to change 
>> > where video and photos are saved when using Motion and MotionEyeOS. I'm 
>> > using Motion version 4.2.2 and MotionEyeOS version 0.41.
>> > My current setup is 2 Raspberry Pi4 with V4L2 cameras. I have Motion 
>> > version 4.2.2 and MotionEye version 0.41 on a pc running Ubunto 18.04. I 
>> > configured and installed everything according to the wiki installation, 
>> > https://github.com/ccrisan/motioneye/wiki/Installation
>> > Everything is working as it should be I just have no idea how to change 
>> > where the files are saved. I have seen some stuff in the forums and online 
>> > talking about the motion.conf file, but I don't really understand what it 
>> > is talking about. I'm very new to Linux and I'm not comfortable with the 
>> > file naming conventions. Currently the cameras are set to record to 
>> > "Custom Path" /data/output/Camera1  when I click on the storage device 
>> > drop down I get 3 options, Custom Path, Network Shares and Y016B 
>> > 0xda66bb60 (/dev/mmcblk0p3) and SL16G 0x119cb850 (/dev/mmcblk0p3) 
>> > respectively. I would like them to save to the internal 1TB hard drive I 
>> > have installed specifically for this purpose, it doesn't have the OS on 
>> > it. It appears the hard drive has a name of /dev/sdb1
>> > I'm hoping someone can explain to me how to change this, it would be 
>> > greatly appreciated.
>> >
>> > Josh
>> > _______________________________________________
>> > Motion-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/motion-user
>> > https://motion-project.github.io/
>> >
>> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


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

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

Reply via email to