Skip to content

The program creates it's backup directory with read only permissions if it's installed in read only mode #264

Description

@deivpaukst

I packaged up the program for myself on NixOS today and noticed that the program crashes when booted for the second time.

I looked at the functions that cause the crash and from what I can tell the copy2() and copytree() functions copy over the permission bits to the destination. This doesn't work if the program is installed on NixOS, because programs are installed in a read only environment.

Here's the log:
casual-pre-loader.log.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions