Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e96e44 authored by Jay Schroeder's avatar Jay Schroeder
Browse files

kcm tool fix for the keyboard output permissions

This patch adds read permission for everyone to the output files of the
kcm tool. The compiled keycharmap files need to be able to be read by
everyone. This fixes a problem at startup being unable to read the
*.kcm.bin files located at <android-root>/system/usr/keychars.
parent fe77558c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ main(int argc, char** argv)
        return 1;
    }

    int out = open(outfilename, O_RDWR|O_CREAT|O_TRUNC, 0660);
    int out = open(outfilename, O_RDWR|O_CREAT|O_TRUNC, 0664);
    if (out == -1) {
        fprintf(stderr, "kcm: error opening file for write: %s\n", outfilename);
        return 1;