Skip to content

Backport !876 “gfile: Limit access to files when copying” to glib-2-60

file_copy_fallback creates new files with default permissions and set the correct permissions after the operation is finished. This might cause that the files can be accessible by more users during the operation than expected. Use G_FILE_CREATE_PRIVATE for the new files to limit access to those files.


Trivial backport of !876 (merged).

Merge request reports