From mboxrd@z Thu Jan 1 00:00:00 1970 References: <08116e317894475b99d4bfb852111455@quintile.net> From: Quintile Content-Type: text/plain; charset=utf-8 In-Reply-To: Message-Id: <5A99A13A-E575-4F59-B3BC-59EB85216822@quintile.net> Date: Mon, 20 Oct 2014 18:49:07 +0100 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: [9fans] Setting up Mail in Acme on the Raspberry Pi. Topicbox-Message-UUID: 1f2c710c-ead9-11e9-9d60-3106f5b1d025 FYI I'm Steve=F0=9F=98=84 I think some misunderstanding lib/riostart refers to a file in the lib directory in your home dir, as Rio is started in your home did. /lib/riostart is a different file. when rc(1) searches for command it does not strip the leading path like sh(1) does, so you can run commands like fs/zipfs, so you can classify commands - object orientation ? =F0=9F=98=83 so, your script should be in lib, or bin/rc under your home directory, and this is what your script should reference. plan is different. -Steve > On 20 Oct 2014, at 18:32, Mats Olsson wrote: >=20 > Hi again Peter! >=20 > Thanks for your patience. I did "chmod +x /path to/riostart" but I > still get the error message that follows: lib/script '/bin/lib' file > does not exist . Since the script is in /lib I don't get the meaning > of < '/bin/lib' file does not exist>. Well /bin/lib doesn't exist but > /lib/script does. Would greatly appreciate a hint about what to do. >=20 > Kind Greetings, > Mats >=20 > PPS Text changes when sent DDS >=20 > * should be an apostrophe like before /bin >=20 >=20 > 2014-10-20 19:28 GMT+02:00, Mats Olsson : >> Hi again Peter! >>=20 >> Thanks for your patience. I did "chmod +x /path to/riostart" but I >> still get the error message that follows: lib/script '/bin/lib* file >> does not exist . Since the script is in /lib I don't get the meaning >> of < '/bin/lib' file does not exist>. Well /bin/lib doesn't exist but >> /lib/script does. Would greatly appreciate a hint about what to do. >>=20 >> Kind Greetings, >> Mats >>=20 >> PS Typo corrected DS >>=20 >> 2014-10-20 19:25 GMT+02:00, Mats Olsson : >>> Hi again Peter! >>>=20 >>> Thanks for your patience. I did "chmod +x /path to/riostart but I >>> still get the error message that follows: lib/script '/bin/lib* file >>> does not exist . Since the script is in /lib I don't get the meaning >>> of < '/bin/lib* file does not exist>. Well /bin/lib doesn't exist but >>> /lib/script does. Would greatly appreciate a hint about what to do. >>>=20 >>> Kind Greetings, >>> Mats >>>=20 >>> 2014-10-20 13:34 GMT+02:00, Steve Simon : >>>> Under plan9 the user who boots a machine has rights to its filesystem, >>>> so unless you are accessing a remote plan9 file server which is running= >>>> an auth server I doubt your problems are to do with administration >>>> rights. >>>>=20 >>>> Somtimes plan9 will produce slightly misleading error messages, >>>> permission >>>> denied might be saying the OS will not allow you to do what you wanted >>>> because it doesn't make sense. >>>>=20 >>>> What I suspect is that you didn't chmod your startup (riostart) script >>>> to make it executable? >>>>=20 >>>> If this isn't the problem can you cut and paste the exact command that >>>> produced >>>> the permission denied error? >>>>=20 >>>> I have attached my startup script for interest, it lives in my >>>> $home/bin/rc/startup >>>> (other script names are available). >>>>=20 >>>> -Steve >>=20