How to edit sandbox profiles?
Has anyone had any experience of modifying system sandbox profiles? (Yes, I want to reduce the security of my system! )
Essentially, I want to add (allow file-write*) to com.apple.security.print.
I could just modify the applications.sb file in /Systems/Library/Sandbox/Profiles, but I'd prefer to create a separate file in /Library/Sandbox/Profiles, because amending files in /System is a Bad Thing, obviously, and also because I want the change to survive updates.
Why do I want to do this? Because I have a CUPS backend that acts as a Virtual Printer, saving files to disks. Currently, sandboxing prevents the files from being saved in the user domain. The only places the files can be saved is in /var or /tmp, and I need a permanent location that is also included in Spotlight's indexing. Keeping all files inside the user domain is also nice and tidy.