sync events to Dropbox
Posted: Fri Apr 12, 2013 6:15 am
Hi,
I'm using Zoneminder 1.25.0 with two local USB webcams on Linux Mint 14.1, and initially everything is working fine.
I symlinked the events folder to my Dropbox, and it works partially. I say partially because there are some issues syncing both ways. There's no problem for Zoneminder to create folders in the Dropbox directory, but since the folders are created with www-data as owner, Dropbox is not allowed to make any changes. This means, if I change anything in the ZM directory in Dropbox on a remote computer, the change is not synced to the box running ZoneMinder because it doesn't have proper access to the files. The logged in linux account differs from www-data, which is the default ZoneMinder user.
To fix this, the only way I can think of, is to change the ZM deault user to the same as the Linux user...but is it enough just to change the user in the zm.conf file? Will it break anything regarding SQL, as I understand www-data is also a SQL user?
Thanks in advance for the help!
I'm using Zoneminder 1.25.0 with two local USB webcams on Linux Mint 14.1, and initially everything is working fine.
I symlinked the events folder to my Dropbox, and it works partially. I say partially because there are some issues syncing both ways. There's no problem for Zoneminder to create folders in the Dropbox directory, but since the folders are created with www-data as owner, Dropbox is not allowed to make any changes. This means, if I change anything in the ZM directory in Dropbox on a remote computer, the change is not synced to the box running ZoneMinder because it doesn't have proper access to the files. The logged in linux account differs from www-data, which is the default ZoneMinder user.
To fix this, the only way I can think of, is to change the ZM deault user to the same as the Linux user...but is it enough just to change the user in the zm.conf file? Will it break anything regarding SQL, as I understand www-data is also a SQL user?
Thanks in advance for the help!