Where do I go to set g+w permissions on the files, e.g. events?
i.e. not just 'chmod -R g+w zoneminder', but so that they get created that way in the first place.
I wing backups all over my network and have lost some events. When I go to restore them I get blocked for no permissions. I can work around this instance by the chmod above, but where do I set so they get created that way in the first place, for next time. (I've added myself to the www-data group.)
[Yes, I get that the restored files may not be in the events database, but I'd like to keep the files together. Not infrequently it's easier to whip through the images via konqueror with preview turned on, and just copying the files back will still permit that.]
Where to set g+w permissions for files?
-
- Posts: 24
- Joined: Wed Apr 06, 2011 2:03 am
- Location: K-W, Ontario, Canada (Kubuntu 12.04LTS, zm 1.25, i7-2600K)
Re: Where to set g+w permissions for files?
Found http://stackoverflow.com/questions/4284 ... pache-user
Added 'umask 006' to /etc/apache2/envvars
If that's inappropriate (a bad idea), or there's a more refined method to affect only zoneminder files, I'd appreciate a comment here.
Added 'umask 006' to /etc/apache2/envvars
If that's inappropriate (a bad idea), or there's a more refined method to affect only zoneminder files, I'd appreciate a comment here.