From b73c14bf540fff409f13e42209b024ccdde5d043 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 31 Oct 2025 18:21:58 +0200 Subject: [PATCH] Fix /var/mail permissions and symlink /var/spool/mail to /var/mail --- pkg.info | 2 +- source.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index b1ca70b..2f425d2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: filesystem description: The Tide Linux filesystem -version: 25.10.26 +version: 25.10.31 revision: 1 architecture: any output_architecture: any diff --git a/source.sh b/source.sh index 92cfdcd..454f950 100644 --- a/source.sh +++ b/source.sh @@ -28,8 +28,10 @@ package() { install -dm755 "$BPM_OUTPUT"/var/{cache,local,log,mail,opt,spool} install -dm755 "$BPM_OUTPUT"/var/lib/{color,misc,locate} - mkdir -m750 "$BPM_OUTPUT"/root - mkdir -m1777 "$BPM_OUTPUT"/tmp "$BPM_OUTPUT"/var/tmp + install -dm750 "$BPM_OUTPUT"/root + install -dm1777 "$BPM_OUTPUT"/tmp + install -dm1777 "$BPM_OUTPUT"/var/tmp + install -dm1777 "$BPM_OUTPUT"/var/mail ln -s usr/bin "$BPM_OUTPUT"/bin ln -s usr/sbin "$BPM_OUTPUT"/sbin @@ -37,6 +39,7 @@ package() { ln -s /proc/self/mounts "$BPM_OUTPUT"/etc/mtab ln -s /run "$BPM_OUTPUT"/var/run ln -s /run/lock "$BPM_OUTPUT"/var/lock + ln -s ../mail "$BPM_OUTPUT"/var/spool/mail ln -s bash "$BPM_OUTPUT"/bin/sh touch "$BPM_OUTPUT"/var/log/{btmp,lastlog,faillog,wtmp}