Tuesday, 15 April 2014

c++ - cups filter - need to allow "others" read permission -



c++ - cups filter - need to allow "others" read permission -

i have qt app prints file in linux using cups... , needs able read file after printing. using custom filter has "file=" option.

unfortunately printing file creates lp-owned file

-rw------- 1 lp lp 2405465 nov 11 12:17 abcd.ps

if create file ahead of time , effort print, printing fails. lots of troubleshooting made me realize (guess) because of ownership.

how can set permissions in cups filter have "group" , "others" read permission ?

i created file in qt app, gave rw permission "group" , "others"

cups able write it, , app.

(would nice alter custom filter allow "others" permission, @ to the lowest degree "r" have not found in documentation yet on how that)

c++ qt printing io cups

No comments:

Post a Comment