From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 2 Jan 2014 22:41:49 +0100 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: <485d71a18a3e7bfe4849015183f99f06@brasstown.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] devproc noteid changing for none Topicbox-Message-UUID: ab47861e-ead8-11e9-9d60-3106f5b1d025 thats because cat tries to open the noteid file of your rc shell (running as none). and not the noteid file of its own process (cat). static void nonone(Proc *p) { if(p == up) return; if(strcmp(up->user, "none") != 0) return; if(iseve()) return; error(Eperm); } nonone() is always ok for p == up. in your case, p != up so it fails (as expected). -- cinap