Hi,

my local umask is set to 0002 so that files created have these default
permissions:
touch test
*-rw-rw-r--.*  1 frank      ohufx     0 Sep 16 20:14 test

When I write a file with QProcess it does not seem to look at the umask and
instead produces files without the group having write permissions, i.e.:
*-rw-r--r--.*  1 frank      ohufx     0 Sep 16 20:14 q_process_test

How can I make QProcess produce the same permissions as the local umask
dictates?
Or how can I at least manually tell QProcess what permissions to produce?

I am using QtCore.QProcess.systemEnvironment() plus an extra env variable
to then feed into the process via QProcess.setEnvironment(env) - in case it
matters.


Cheers,
frank

-- 
Frank Rueter  I VFX Supervisor | OHUfx | +64 21 110 7919
_______________________________________________
PySide mailing list
[email protected]
https://lists.qt-project.org/listinfo/pyside

Reply via email to