Skip to main content

Thread: Permissions


i have installed ubuntu 11 x64 2 days ago in virtual box host of windows 7 ult x64.

wanted use web development machine (still learning php/mysql have experience) , learn basics of ubuntu @ same time. figured if had project do, force me run things in os have learn. after reading many forum posts , learning how phpmyadmin, apache2 , mysql installed, ran problem. cannot save files in /var/www folder. did google searching , came lot of people saying or that, saw other people saying dangerous mess around permissions. know linux os's different windows far permissions go. know root user has ability many things might damage os. want know once , going right way. there no sense learning wrong way , having fix later.

so, question is, how make user account have ability work in www folder without risking damage, or opening unwanted security risks?

remember, skilled in windows, complete noob in linux distributions. ubuntu first, , i've been in 2 days.

in advance help...

you need make owner of folder. easiest way run following command in terminal:
code:
sudo chown -r yourname:yourname /var/www/
note: if made folder, fine (which i'm guessing did. don't have folder on computer). if system directory, pose security risk change owner root.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Permissions


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support