Posted on 12-15-2017 06:02 AM
Just looking at finally upgrading our devices from El Cap to Sierra (Casper 9.101).
After upgrading successfully, some of our "flag" files that we placed in the /var/db/receipts folder have gone.
e.g. /var/db/receipts/.owned
We use this flag to put the Mac into a specific dynamic group.
Any idea why this is deleted after an upgrade?
- Best way to retain it?
- Maybe better place to be adding these type of "flags"?
Posted on 12-15-2017 06:38 AM
I would put it in /var/db instead of /var/db/receipts, we put marker files in /var/db and they're always left in place after OS upgrades.
It is probably being deleted because it's not a valid receipt.
I hope that helps.
Posted on 12-18-2017 04:37 AM
Thanks. Works as intended in that area.