Skip to content

Fix read-only files leading to uncaught exceptions#158

Merged
suricactus merged 1 commit into
masterfrom
QF-8254-copyfile
May 14, 2026
Merged

Fix read-only files leading to uncaught exceptions#158
suricactus merged 1 commit into
masterfrom
QF-8254-copyfile

Conversation

@suricactus
Copy link
Copy Markdown
Collaborator

shutil.copy is just a wrapper calling shitil.copyfile AND shutil.copymode, but we don't necessarily want the mode of the file.

Fixes opengisch/qfieldsync#797

`shutil.copy` is just a wrapper calling `shitil.copyfile` AND
`shutil.copymode`, but we don't necessarily want the mode of the file.
@duke-nyuki
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL

@suricactus suricactus merged commit b3541aa into master May 14, 2026
8 checks passed
@suricactus suricactus deleted the QF-8254-copyfile branch May 14, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

read-only geojson leads to crash on re-export

3 participants