diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-05-22 15:47:35 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-05-22 15:47:35 -0400 |
commit | 59bf33a5d26542f4dc01876b0e32a9a9057ae14f (patch) | |
tree | dbbcc666423f9af196b5fcebcc46066ec7c4cb75 | |
parent | 3faf74e5d881fdc63a8c204801c0db2792e8f7db (diff) | |
download | lite-xl-plugin-manager-59bf33a5d26542f4dc01876b0e32a9a9057ae14f.tar.gz lite-xl-plugin-manager-59bf33a5d26542f4dc01876b0e32a9a9057ae14f.zip |
Fixed issue with permissions not being recorded correctly.
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -649,7 +649,7 @@ static int lpm_extract(lua_State* L) { if (attr & FA_DIREC) m = (S_IFDIR | (m & ~S_IFMT)) | S_IXUSR | S_IXGRP | S_IXOTH; } else { - m = (attr >> 16) & ~0222; + m = (attr >> 16); } if (chmod(target, m)) { zip_fclose(zip_file); |