Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9178

Re: web server that displays temp, humitdy etc

From David James <david@tcs01.demon.co.uk>
Newsgroups comp.sys.raspberry-pi
Subject Re: web server that displays temp, humitdy etc
Date 2015-07-22 21:01 +0000
Organization A noiseless patient Spider
Message-ID <mop0b3$kgd$1@dont-email.me> (permalink)
References <ec97baf6-2ca7-4ec3-9b76-8445f2d23d59@googlegroups.com> <OVzrx.6890$vh6.5379@fx12.am4> <slrnmqu1bn.t4b.spamtrap42@one.localnet> <5c997b0a-9bf3-48e0-adcf-7cf52f6636c2@googlegroups.com> <DzSrx.4579$577.3084@fx46.am4>

Show all headers | View raw


On Wed, 22 Jul 2015 20:56:18 +0100, mm0fmf wrote:

> On 22/07/2015 12:33, Glen_Ossman@ossman-cg.net wrote:
>> Gents
>>
>> you gave me some good ideas that Py code can't be run by a web page
>> Access denied you can only SUDO the code
>>
>>
>>
> Why does it have to be run as root? You should find out why and fix it
> by using the correct accounts and permissions.

My guess would be because it is accessing I2C (from the OP's original 
post) and so it is the permissions somewhere down the /sys/bus/wl/devices 
directory tree that will need fixing.

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 04:33 -0700
  Re: web server that displays temp, humitdy etc Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-22 18:15 +0000
  Re: web server that displays temp, humitdy etc mm0fmf <none@mailinator.com> - 2015-07-22 20:56 +0100
    Re: web server that displays temp, humitdy etc David James <david@tcs01.demon.co.uk> - 2015-07-22 21:01 +0000
    Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 14:11 -0700
      Re: web server that displays temp, humitdy etc mm0fmf <none@mailinator.com> - 2015-07-22 22:33 +0100
        Re: web server that displays temp, humitdy etc Glen_Ossman@ossman-cg.net - 2015-07-22 15:16 -0700
          Re: web server that displays temp, humitdy etc Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-22 22:51 +0000
        Re: web server that displays temp, humitdy etc Gordon Henderson <gordon+usenet@drogon.net> - 2015-07-23 17:11 +0000

csiph-web