pmaports w/ reMarkable 1 packages
Find a file
Minecrell 74e8166c7d
main/postmarketos-base: fix file permissions of /etc/sudoers (MR 2610)
Installing postmarketos-base currently changes the file permissions
of /etc/sudoers:

  # apk add sudo
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0044/----r--r--)  Uid: (    0/    root)   Gid: (    0/    root)

The file mode 0044 decodes to:
  - User *cannot* read
  - Group can read
  - Other can read

which does not make any sense. The "sudoers" man page makes it very
clear that this file should have a file mode of 0440 [1]
("readable by owner and group, writable by none").

This looks like a bad typo. However, given that only read permissions
were given out this shouldn't have major security implications
(except allowing all users to see who can use sudo).
Install the file with 0440 instead of 0044 to fix this:

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

[1]: https://www.sudo.ws/man/1.9.8/sudoers.man.html#Error_log_entries
2021-10-17 11:30:07 +02:00
.ci CI: add installkernel-pmos to shellcheck (MR 2586) 2021-10-14 12:27:55 +03:00
cross cross/busybox-static-*: upgrade to 1.34.1 2021-10-02 19:57:12 +02:00
device samsung-p4wifi: use linux-postmarketos-grate package (MR 2579) 2021-10-16 17:04:12 +03:00
main main/postmarketos-base: fix file permissions of /etc/sudoers (MR 2610) 2021-10-17 11:30:07 +02:00
modem modem/msm-modem: drop msm-modem-rpmsg (MR 2535) 2021-09-19 17:03:37 +02:00
non-free/sgx-ddk-um non-free/sgx-ddk-um: new aport (MR 1868) 2021-02-23 22:10:12 +01:00
temp temp/dino: second attempt to rebuild 2021-10-15 05:08:18 +03:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.editorconfig Add editorconfig file from Alpine 2018-11-27 07:47:11 +01:00
.gitignore gitignore: add 'src/' dir created when running abuild manually (MR 2450) 2021-08-21 20:30:46 +02:00
.gitlab-ci.yml CI: rename ci folder to consistent naming (MR 2514) 2021-09-14 09:36:39 +02:00
.mrhlpr.json mrhlpr.json: change suffix in commit names (MR 1146) 2020-04-12 03:52:48 +03:00
channels.cfg channels.cfg: mark v21.03 as unsupported (MR 2424) 2021-08-10 11:33:48 -07:00
CODEOWNERS add sxmo maintainers to pinephone codeowners (MR 2211) 2021-06-01 13:25:57 +03:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: set pmbootstrap_min_version to 1.37.0 (MR 2426) 2021-09-03 10:29:07 -07:00
README.md README: small updates to links 2021-09-01 03:11:51 +03:00