pmaports/main
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
..
.shared-scripts main/postmarketos-ui-phosh: make Kirigami/QML apps use mobile controls (MR 1932) 2021-04-05 22:21:18 +03:00
0xffff main/0xffff: upgrade to 0.9 (MR 2126) 2021-04-22 15:55:46 +03:00
abootimg main/abootimg: modernize (!840) 2019-12-30 18:29:22 +01:00
abuild-sign-noinclude *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
adsp-audio main/*: fix outdated url variables (MR 2226) 2021-06-06 19:02:54 +02:00
anbox-image anbox-image: fix typo in APKBUILD (MR 2178) 2021-05-18 21:37:01 +02:00
android-mkdtimg *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
asus-transformer-blobtools main/asus-transformer-blobtools: Add blob signing (MR 1803) 2020-12-28 15:04:12 +01:00
avbtool main/avbtool: new aport (!1019) 2020-03-10 21:01:43 +01:00
boot-deploy boot-deploy: upgrade to 0.2 (MR 2500) 2021-09-08 14:11:30 -07:00
bootchart2 treewide: rebuild against python 3.9 (MR 2104) 2021-04-08 22:29:40 +00:00
charging-sdl *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
columbiad *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
crust main/crust: upgrade to 0.4 (MR 2315) 2021-08-13 23:19:28 -07:00
devicepkg-dev main/devicepkg-dev: don't use kernel 'flavor' in kernel filename (MR 2426) 2021-09-03 10:08:34 -07:00
dtbtool *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
dtbtool-exynos main/dtbtool-exynos: upgrade to 1.1.0 (MR 1579) 2020-09-15 13:32:16 +03:00
dtbtool-sprd main/dtbtool-sprd: fork and upgrade to 1.1.2 (MR 1864) 2021-01-15 00:06:39 +01:00
extract-dtb main/extract-dtb: upgrade to 1.2.2 (MR 2358) 2021-07-19 12:13:54 +03:00
fbdebug *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
fbkeyboard main/fbkeyboard: upgrade to 0.4 (MR 1409) 2020-07-11 17:19:57 +02:00
gcc4 {main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421) 2021-08-10 01:54:18 +03:00
gcc6 {main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421) 2021-08-10 01:54:18 +03:00
gesture main/postmarketos-ui-shelli: update shelli to 0.6 (MR 1814) 2020-12-18 11:07:21 -08:00
hello-world main/hello-world: bump pkgrel 2021-02-10 10:59:11 +01:00
hello-world-rust *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
hello-world-wrapper main/hello-world-wrapper: update url (MR 1644) 2020-10-24 00:49:09 +03:00
hisi-wlan main/hisi-wlan: new aport (MR 2221) 2021-06-06 17:56:06 +02:00
hwtest treewide: rebuild against python 3.9 (MR 2104) 2021-04-08 22:29:40 +00:00
keepfileopen main/keepfileopen: new aport (MR 1640) 2020-10-25 18:35:06 +01:00
ldpath New aport ldpath 2018-11-27 07:47:11 +01:00
linux-postmarketos-allwinner linux-postmarketos-allwinner: upgrade to 5.14.6 (MR 2549) 2021-10-02 14:52:35 +02:00
linux-postmarketos-exynos4 linux-postmarketos-exynos4: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:02 +03:00
linux-postmarketos-grate main/linux-postmarketos-grate: upgrade to 5.15.0_rc4 (MR 2579) 2021-10-16 17:03:59 +03:00
linux-postmarketos-qcom-msm8916 linux-postmarketos-qcom-msm8916: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:06 +03:00
linux-postmarketos-qcom-msm8939 linux-postmarketos-qcom-msm8939: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:09 +03:00
linux-postmarketos-qcom-msm8953 linux-postmarketos-qcom-msm8953: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:12 +03:00
linux-postmarketos-qcom-msm8974 linux-postmarketos-qcom-msm8974: switch to installkernel-pmos (MR 2586) 2021-10-14 12:27:59 +03:00
linux-postmarketos-qcom-msm8996 main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0-rc4 (MR 2574) 2021-10-06 17:04:46 +03:00
linux-postmarketos-qcom-sdm660 main/linux-postmarketos-qcom-sdm660: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
linux-postmarketos-qcom-sdm845 linux-postmarketos-qcom-sdm845: install kernel image in correct location (MR 2499) 2021-09-08 22:47:17 +02:00
linux-postmarketos-qcom-sm6350 main/linux-postmarketos-qcom-sm6350: new aport (MR 2562) 2021-10-02 17:42:26 +02:00
linux-postmarketos-qcom-sm8150 linux-postmarketos-qcom-sm8150: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:15 +03:00
linux-postmarketos-rockchip main/linux-postmarketos-rockchip: upgrade to 5.14.9 (MR 2567) 2021-10-07 08:39:46 +02:00
linux-postmarketos-stericsson linux-postmarketos-stericsson: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:18 +03:00
lk2nd main/lk2nd: fix version display on lk2nd screen (MR 2585) 2021-10-10 00:13:58 +03:00
mdss-fb-init-hack main/*: fix outdated url variables (MR 2226) 2021-06-06 19:02:54 +02:00
mesa-pvr-dri-classic main/mesa-pvr-dri-classic: bump _llvmver to 11 (MR 2049) 2021-04-04 20:17:32 +02:00
mkbootimg-osm0sis Updated mkbootimg to the latest version from osmosis (MR 2208) 2021-06-01 09:25:09 +02:00
mobile-config-firefox main/mobile-config-firefox: upgrade to 2.2.0 (MR 2356) 2021-07-19 17:22:19 -07:00
msm-fb-refresher main/msm-fb-refresher: modernize openrc service (MR 1482) 2020-09-01 14:01:08 +02:00
msm-firmware-loader main/msm-firmware-loader: add a package to load firmware on msm devices (MR 2431) 2021-09-27 15:23:47 +03:00
mtk-mkimage *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
ofonoctl treewide: rebuild against python 3.9 (MR 2104) 2021-04-08 22:29:40 +00:00
osk-sdl main/osk-sdl: upgrade to 0.66 (MR 2396) 2021-07-31 12:01:34 +03:00
pil-squasher main/pil-squasher: new aport (MR 1259) 2020-05-23 17:26:36 +02:00
postmarketos-anbox postmarketos-anbox: Add nftables subpackage dependency (MR 2271) 2021-06-23 21:18:34 +02:00
postmarketos-android-recovery-installer main/postmarketos-android-recovery-installer: upgrade to 1.0.5 (MR 2587) 2021-10-10 12:31:06 +02:00
postmarketos-artwork *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
postmarketos-base main/postmarketos-base: fix file permissions of /etc/sudoers (MR 2610) 2021-10-17 11:30:07 +02:00
postmarketos-base-ui main/postmarketos-base-ui: NetworkManager: hostname-mode=none (MR 2457) 2021-08-24 14:37:41 +02:00
postmarketos-boot-hwtest *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
postmarketos-config-nftables main/postmarketos-config-nftables: subpackage vncserver (MR 2479) 2021-09-01 11:28:33 +03:00
postmarketos-demos main/postmarketos-demos: upgrade to 1.1.0 (MR 1266) 2020-05-25 10:31:33 +02:00
postmarketos-hidden-desktop-entries postmarketos-hidden-desktop-entries: unhide eog icon from menus (MR 2120) 2021-04-20 13:23:25 +02:00
postmarketos-installkernel main/postmarketos-installkernel: new package (MR 2586) 2021-10-14 12:27:39 +03:00
postmarketos-keys main/postmarketos-keys: new aport (MR 2477) 2021-09-01 11:37:14 +03:00
postmarketos-mkinitfs main/postmarketos-mkinitfs: upgrade to 1.1.1 (MR 2540) 2021-09-21 10:40:54 +02:00
postmarketos-mkinitfs-hook-console-shell main/postmarketos-mkinitfs-hook-console-shell: Add support for rotated framebuffers (MR 1422) 2020-07-21 11:14:47 +02:00
postmarketos-mkinitfs-hook-debug-shell main/postmarketos-mkinitfs-hook-debug-shell: mount pstore (!921) 2020-02-04 11:19:41 +03:00
postmarketos-mkinitfs-hook-kernel-panic *: remove quotes around pkgname (MR 1186) 2020-04-25 12:06:47 +02:00
postmarketos-mkinitfs-hook-maximum-attention Remove github.com references 2018-06-30 09:00:48 +02:00
postmarketos-mkinitfs-hook-verbose-initfs *: remove quotes around pkgname (MR 1186) 2020-04-25 12:06:47 +02:00
postmarketos-mvcfg main/postmarketos-mvcfg: new package (MR 1713) 2020-12-03 13:10:58 +01:00
postmarketos-ondev main/postmarketos-ondev: depend on ttf-dejavu (MR 2400) 2021-08-05 18:44:32 +02:00
postmarketos-splash *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
postmarketos-theme main/postmarketos-theme: new aport (MR 2582) 2021-10-10 00:04:23 +03:00
postmarketos-tweaks main/postmarketos-tweaks: upgrade to 0.8.1 (MR 2593) 2021-10-11 16:32:23 +03:00
postmarketos-ui-asteroid postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-console main/postmarketos-ui-console: fix wifi support (MR 2382) 2021-07-24 17:47:09 -07:00
postmarketos-ui-fbkeyboard postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-glacier main/postmarketos-ui-*: add GPU acceleration option (MR 2078) 2021-07-06 19:12:27 -07:00
postmarketos-ui-gnome main/postmarketos-ui-gnome: enable on armhf (MR 2598) 2021-10-12 11:11:47 +02:00
postmarketos-ui-i3wm postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-kodi main/postmarketos-ui-*: add GPU acceleration option (MR 2078) 2021-07-06 19:12:27 -07:00
postmarketos-ui-lxqt postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-mate main/postmarketos-ui-mate: take maintainership (MR 2537) 2021-09-24 11:58:56 +02:00
postmarketos-ui-phosh main/postmarketos-ui-phosh: add lollypop to recommends (MR 2417) 2021-08-09 16:02:41 +03:00
postmarketos-ui-plasma-bigscreen main/postmarketos-ui-plasma-bigscreen: add plank-player to pre-installed apps (MR 2551) 2021-09-28 14:08:08 +03:00
postmarketos-ui-plasma-desktop main/postmarketos-ui-plasma-desktop: install Firefox by default, enable on x86 (MR 2475) 2021-08-31 08:56:12 +02:00
postmarketos-ui-plasma-mobile main/postmarketos-ui-plasma-mobile: clean up runtime deps (MR 2433) 2021-08-13 23:22:25 -07:00
postmarketos-ui-shelli postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-sway main/postmarketos-ui-sway: depend on pulseaudio (MR 2338) 2021-07-14 09:58:41 -07:00
postmarketos-ui-sxmo main/postmarketos-ui-sxmo: update to 1.5.1 (MR 2481) 2021-09-02 14:24:09 +02:00
postmarketos-ui-weston postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243) 2021-06-23 13:00:00 +02:00
postmarketos-ui-xfce4 main/postmarketos-ui-xfce4: further improvements (MR 2506) 2021-09-29 18:29:54 +03:00
postmarketos-update-kernel postmarketos-update-kernel: drop kernel 'flavor' option (MR 2426) 2021-09-03 10:08:34 -07:00
postmarketos-welcome-gtk3 main/postmarketos-welcome-gtk3: upgrade to 0.3.0 (MR 2322) 2021-07-06 22:03:08 +02:00
powersupply main/powersupply: upgrade to 0.5.0 (MR 2200) 2021-05-27 02:43:52 +02:00
pxa-mkbootimg main/pxa-mkbootimg: new aport (MR 1823) 2020-12-27 21:39:43 -08:00
qmi-ping *: remove quotes around pkgname (MR 1186) 2020-04-25 12:06:47 +02:00
qt5ct *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
qtwebbrowser main/qtwebbrowser: add missing dependencies (MR 2012) 2021-03-07 21:14:52 +01:00
reboot-mode *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
shelli main/postmarketos-ui-shelli: update shelli to 0.6 (MR 1814) 2020-12-18 11:07:21 -08:00
swclock-offset main/swclock-offset: update dependency tree cache (MR 2244) 2021-06-10 19:36:00 +03:00
triggerhappy *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
ttyescape main/ttyescape: new aports (MR 2309) 2021-08-09 23:57:24 -07:00
unixbench *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
watchdog-kick *: remove "Contributor:" lines from APKBUILDs (MR 1203) 2020-05-02 21:45:25 +03:00
waydroid-image main/waydroid-image: new aport (MR 2588) 2021-10-10 18:12:28 +02:00
wcnss-wlan main/*: fix outdated url variables (MR 2226) 2021-06-06 19:02:54 +02:00