Commit Diff
Diff:
78027c33011cf145ce6adf49d4e7baf37fcd2533
f0f299767df9705642678d3e692f37a258ac2413
Commit:
f0f299767df9705642678d3e692f37a258ac2413
Tree:
d598a625ebbf3e7a09b403e78d3a67ce8f38c20f
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Mon Mar 6 23:09:07 2023 UTC
Message:
fix permissions bugs
blob - bac78cb1e93f46600b1497b2e9b9a8d73b3278e3
blob + e93148011f14e9050d574fb7f9f57505c84a8e9e
--- Mail.pm
+++ Mail.pm
@@ -38,9 +38,9 @@ sub init {
unveil($passwdpath, "rwc") or die "Unable to unveil $!";
unveil($virtualspath, "rwc") or die "Unable to unveil $!";
unveil($senderspath, "rwc") or die "Unable to unveil $!";
- unveil($passwdpath.bak, "rwc") or die "Unable to unveil $!";
- unveil($virtualspath.bak, "rwc") or die "Unable to unveil $!";
- unveil($senderspath.bak, "rwc") or die "Unable to unveil $!";
+ unveil("$passwdpath.bak", "rwc") or die "Unable to unveil $!";
+ unveil("$virtualspath.bak", "rwc") or die "Unable to unveil $!";
+ unveil("$senderspath.bak", "rwc") or die "Unable to unveil $!";
unveil("/usr/lib/libutil.so.13.1", "r") or die "Unable to unveil $!";
unveil("/bin/sh", "rx") or die "Unable to unveil $!";
}
IRCNow