[kanchilug] Re: help

  • From: Shrinivasan T <tshrinivasan@xxxxxxxxx>
  • To: kanchilug@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2011 06:41:30 +0530

As the folder is owned by www-data user and group, normal user cant write there.
You can
Add yourself in the group www-data
Or
Create files as sudo user
Or
Give 777 permission to the folder /var/www
But this should not be done in production server.

On 6/20/11, praveen s <praveen9482@xxxxxxxxx> wrote:
> Hi hello...
> I'd like to learn php...
> So i input create a permission for create a file in the /var/www folder...
> I give the following command
>
> "chown -R www-data:www-data /var/www"
>
> After this input i did't create a folder or file in the folder... So please
> help me anyone...
> Thanks...
>

-- 
Sent from my mobile device

Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
 

Other related posts: