Skip to content
Snippets Groups Projects
Commit 56e244ec authored by Philip Withnall's avatar Philip Withnall
Browse files

gfile: Don’t copy files as private if using default permissions


If a copy operation is started with `G_FILE_COPY_TARGET_DEFAULT_PERMS`,
don’t create the destination file as private. Instead, create it with
the process’ current umask (i.e. ‘default permissions’).

This is a partial re-work of commit d8f8f4d6, with
input from Ondrej Holy.

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #174
parent 1b6d8e58
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment