Comment 22 for bug 206365

Revision history for this message
FriedChicken (domlyons) wrote :

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".