Permissions of the saved pad/canvas


I wonder whether there is method to set permissions for the file of the
saved canvas.

In my case the program saves the canvas in a fixed directory with a fixed name.
The problem happens when another user wants to run the program, in this case she/he
can’t save it because they don’t have writing permissions to that file.



you can set permissions of file via the TSystem::Chmod method: … 9bcbd26e6a
It is up to you to decide if it is appropriate to incorporate this permission settng in your program and to set these permissions at all.