Yes, the original Brother drivers edit files in /usr/local/Brother/inf/:
As you probably know, the postinstall-script calls a script (cupswrapperPRINTER) that generates the ppd-file and the cupswrapper-script (in my case brlpdwrapperDCP110C). Besides of the path the script is exactly the same as yours. This script calls a programm that edits brPRINTERrc.
After that cupswrapperPRINTER sets the permissions:
chmod a+x $brotherlpdwrapper
chmod a+w /usr/local/Brother/inf/brMFC210Crc
chmod a+w /usr/local/Brother/inf
As I said I'm no expert in scripting but I think my interpretation of the script should be right ...
Maybe it would be better not to let everyone write into that folder but make the folder and the files owned by the user and group "lp".
Yes, the original Brother drivers edit files in /usr/local/ Brother/ inf/: NTER) that generates the ppd-file and the cupswrapper-script (in my case brlpdwrapperDCP 110C). Besides of the path the script is exactly the same as yours. This script calls a programm that edits brPRINTERrc. Brother/ inf/brMFC210Crc Brother/ inf
As you probably know, the postinstall-script calls a script (cupswrapperPRI
After that cupswrapperPRINTER sets the permissions:
chmod a+x $brotherlpdwrapper
chmod a+w /usr/local/
chmod a+w /usr/local/
As I said I'm no expert in scripting but I think my interpretation of the script should be right ...
Maybe it would be better not to let everyone write into that folder but make the folder and the files owned by the user and group "lp".