Where to set g+w permissions for files?
Posted: Tue Aug 06, 2013 8:25 am
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.]
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.]