|
|
|
10.4: Create a virtual PDF printer
This is a great hint and works really well. I have one problem though - the owner of the file stubbornly remains as root. I have checked through the tail end of the code and inspected the logfile but no avail. The log file shows $2 as my corrrect username. The chmod step works fine, $2 is obviously !="" so can't understand while file remains root:staff. This is really relativly minor but a real annoyance! I see this problem has been reported previously.
10.4: Create a virtual PDF printer
This is a little late, but change the chown line to:
10.4: Create a virtual PDF printer
I changed
chown $2 $OUTPUTFILENAME to /usr/sbin/chown $2 $OUTPUTFILENAMEand it worked. (Better than giving rights to everyone.) |
SearchFrom our Sponsor...Latest Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|