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


Groups > comp.lang.php > #8400

Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php, alt.os.linux.ubuntu
Subject Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser
Date Tue, 19 Feb 2013 11:44:31 +0100
Organization A noiseless patient Spider
Lines 33
Message-ID <5123578F.8030409@arnowelzel.de> (permalink)
References <DI6dnbmZcNsJyYrMnZ2dnUVZ_smdnZ2d@supernews.com> <51176D1D.7030501@arnowelzel.de> <zYmdnUoeJN3zw4XMnZ2dnUVZ_uednZ2d@supernews.com> <kfasbe$dat$1@dont-email.me> <l8CdneyuxKs7z4TMnZ2dnUVZ_oCdnZ2d@supernews.com> <kfdgs3$5a3$1@dont-email.me> <kfdjfs$duh$2@news.albasani.net> <D5WdnczS5fuTj4bMnZ2dnUVZ_oednZ2d@supernews.com> <kfh89t$l57$1@news.albasani.net> <ba-dndQKw8hRFYHMnZ2dnUVZ_tGdnZ2d@supernews.com> <op.wsh7gkewptrp3x@neonk2.intrahouse.local> <Jdudndy20sIb2L7MnZ2dnUVZ_uadnZ2d@supernews.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 8bit
Injection-Info mx05.eternal-september.org; posting-host="aa07ec5af18901f922d01f07faafdb7b"; logging-data="18268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QSmm5qVkifmNRzgS3yGzCPItz01ZLmAM="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To <Jdudndy20sIb2L7MnZ2dnUVZ_uadnZ2d@supernews.com>
Cancel-Lock sha1:GPan7c8/TiaD/uKBjPFd2fvsz20=
Xref csiph.com comp.lang.php:8400

Cross-posted to 2 groups.

Show key headers only | View raw


Cal Dershowitz, 2013-02-19 10:27:

> On 02/14/2013 08:15 AM, Kim André Akerø wrote:
> 
>> sudo chown -R www-data:www-data /var/www
> 
> Thx, Kim, this really helped me out of the mire, but I'm not quite
> squared-away yet.
>>
>> This will change the owner (chown) of the /var/www folder to the
>> "www-data" user (and the "www-data" group), and all files and folders
>> within it (-R = recursively). The sudo command is used to run the chown
>> command with elevated administrator privileges (ie. as the root user).
>> You may have to provide a password to run that command, though. If
>> you're already running the command as the root user, you don't need to
>> run it through "sudo".
>>
>> The other privileges on the files inside /var/www (read/write/execute)
>> can stay as they are (no need to use the "chmod" command).
>>
> 
> ok.  to run as a php script, a file only need to have read permission,
> though, right?

Yes - since you do not run a PHP script directly but use the PHP
interpeter to do this for you, either with a PHP module in your
Webserver or an external handler.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-10 01:04 -0700
  Re: using scripting languages to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-10 10:03 +0100
  Re: using scripting languages to automate a browser Arno Welzel <usenet@arnowelzel.de> - 2013-02-10 10:49 +0100
    getting a php capability on ubuntu was Re: using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-10 19:58 -0700
      Re: getting a php capability on ubuntu was Re: using scripting languages   to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-11 12:39 +0100
        Re: getting a php capability on ubuntu was Re: using scripting languages   to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-11 09:29 -0500
          Re: getting a php capability on ubuntu was Re: using scripting languages     to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-11 17:23 +0100
            Re: getting a php capability on ubuntu was Re: using scripting languages     to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-11 14:13 -0500
              Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-11 22:29 +0100
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-11 16:40 -0500
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-11 22:23 -0700
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser The Natural Philosopher <tnp@invalid.invalid> - 2013-02-12 07:02 +0000
                Re: getting a php capability on ubuntu was Re: using scripting languages         to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-12 09:38 +0100
                Re: getting a php capability on ubuntu was Re: using scripting languages         to automate a browser "Peter H. Coffin" <hellsop@ninehells.com> - 2013-02-12 07:54 -0600
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-12 09:09 -0500
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-19 00:56 -0800
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser The Natural Philosopher <tnp@invalid.invalid> - 2013-02-19 12:12 +0000
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-19 08:27 -0500
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-19 17:08 -0800
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser "Peter H. Coffin" <hellsop@ninehells.com> - 2013-02-12 07:50 -0600
                Re: getting a php capability on ubuntu was Re: using scripting languages       to automate a browser The Natural Philosopher <tnp@invalid.invalid> - 2013-02-12 14:28 +0000
                Re: getting a php capability on ubuntu was Re: using scripting   languages       to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-12 15:29 +0100
                Re: getting a php capability on ubuntu was Re: using scripting   languages       to automate a browser Arno Welzel <usenet@arnowelzel.de> - 2013-02-17 08:48 +0100
                Re: getting a php capability on ubuntu was Re: using scripting   languages       to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-19 01:19 -0800
                Re: getting a php capability on ubuntu was Re: using scripting   languages       to automate a browser Arno Welzel <usenet@arnowelzel.de> - 2013-02-19 11:43 +0100
      Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Warren Post <warren@copaninvest.com> - 2013-02-11 07:40 -0600
        Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-11 13:20 -0700
          Re: getting a php capability on ubuntu was Re: using scripting languages   to automate a browser "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-11 22:32 +0100
          Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Captain Paralytic <paul_lautman@yahoo.com> - 2013-02-12 02:12 -0800
          Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Warren Post <warren@copaninvest.com> - 2013-02-12 07:42 -0600
            Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser The Natural Philosopher <tnp@invalid.invalid> - 2013-02-12 14:27 +0000
              Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-12 21:09 -0700
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-13 06:14 -0500
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Allodoxaphobia <knock_yourself_out@example.net> - 2013-02-13 19:35 +0000
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser The Natural Philosopher <tnp@invalid.invalid> - 2013-02-13 23:40 +0000
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-13 23:48 -0700
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Kim André Akerø <kimandre@nospambetadome.com> - 2013-02-14 17:15 +0100
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Cal Dershowitz <cal@example.invalid> - 2013-02-19 01:27 -0800
                Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser Arno Welzel <usenet@arnowelzel.de> - 2013-02-19 11:44 +0100

csiph-web