change to root : sudo su
<root password>
chmod 755 -R /var/www
or you could chown userid:usergroup id /var/www
Although not recommended, chmod 777 -R /var/www for all read/write permissions.
./bernard
Peter,
So exactly how do you change ownership? Seems to be the only option?..
--
On Tue, Jun 15, 2010 at 5:03 PM, Peter Karunyu <pkarunyu@gmail.com> wrote:
> Had the same issue on the same ubuntu, apparently, that folder /var/www is
> owned by root and only root has write permissions, unless you change that.
>
> On Tue, Jun 15, 2010 at 4:40 PM, Samuel Waithaka <samwaithaka@gmail.com>
> wrote:
>>
>> Hi guys,
>>
>> After setting up LAMP stack on Ubuntu 10.04, I need to transfer some
>> work to the webserver root, (/var/www), but I can't paste into it.
>> Tried linking to /home/user/public but I get the message "to hard link
>> not allowed for directory". Exactly what's supposed to happen? Please
>> assist.
>>
>> --
>> Samuel Waithaka
>> Techiepreneur | http://groups.to/techiepreneur
>> http://www.linkedin.com/in/waithaka
>> http://twitter.com/samwaithaka
>> _______________________________________________
>> Skunkworks mailing list
>> Skunkworks@lists.my.co.ke
>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>> ------------
>> Skunkworks Server donations spreadsheet
>>
>> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
>> ------------
>> Skunkworks Rules
>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>> ------------
>> Other services @ http://my.co.ke
>
>
> _______________________________________________
> Skunkworks mailing list
> Skunkworks@lists.my.co.ke
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
> ------------
> Skunkworks Server donations spreadsheet
> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
> ------------
> Skunkworks Rules
> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
> ------------
> Other services @ http://my.co.ke
>
Samuel Waithaka
Techiepreneur | http://groups.to/techiepreneur
http://www.linkedin.com/in/waithaka
http://twitter.com/samwaithaka
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke