FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » using scripting languages to automate a browser
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser [message #180466 is a reply to message #180462] Tue, 19 February 2013 10:44 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CMS Recommendation
Next Topic: On click button in php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 12:37:24 GMT 2024

Total time taken to generate the page: 0.05240 seconds