shithub: sirjofri_de

Download patch

ref: 8743fed50d5bc583409031c1e2d016ec77b8e3a6
parent: 66f769d35b32f265ef63d914f209000f5879c763
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Dec 15 05:17:54 EST 2020

fix?

--- a/pub/changeblog.plain.xml
+++ b/pub/changeblog.plain.xml
@@ -8,7 +8,7 @@
 <rights>© Copyright 2020 sirjofri</rights>
 <id>https://sirjofri.de/</id>
 <title>changeblog</title>
-<updated>2020-12-15T11:14:24+01:00</updated>
+<updated>2020-12-15T11:17:44+01:00</updated>
 <entry>
 	<title>Restrict RCPU User Access to Groups</title>
 	<id>https://sirjofri.de/changeblog/1596011563/</id>
@@ -32,7 +32,7 @@
  fn useringroup{
   grep $1 $userfile | {
   found=0
-  while(~ $found 0 && line=`:{read}){
+  while(~ $found 0 &amp;&amp; line=`:{read}){
   if(~ $line(2) $2){
   found=1
   }
@@ -50,9 +50,9 @@
  fn server {
   ~ $#remote 0 || echo -n $netdir $remote >/proc/$pid/args
   rm -f /env/'fn#server'
-  . <{n=`{read} && ! ~ $#n 0 && read -c $n} >[2=1]
+  . <{n=`{read} &amp;&amp; ! ~ $#n 0 &amp;&amp; read -c $n} >[2=1]
  }
- exec tlssrv -a /bin/rc -c 'useringroup $user sys && server'
+ exec tlssrv -a /bin/rc -c 'useringroup $user sys &amp;&amp; server'
 
 This checks if the user is in group sys and only then calls the server function. Otherwise the connection
 is terminated.
@@ -170,10 +170,10 @@
 
 For delivering local mails, I added extra rules:
 
- local!(.+)\+(.+) | "/bin/test -d /mail/box/\1/\2 \&\&
+ local!(.+)\+(.+) | "/bin/test -d /mail/box/\1/\2 \&amp;\&amp;
  /bin/upas/mbappend /mail/box/\1/\2 || /bin/upas/mbappend
  /mail/box/\1/mbox"
- local!"(.+)+(.+) | "/bin/test -d /mail/box/\1/\2 \&\&
+ local!"(.+)+(.+) | "/bin/test -d /mail/box/\1/\2 \&amp;\&amp;