How to give read write permission to a directory in ubuntu (linux)

Ubuntu Desktop

Posted on 11 Apr 15 by Vickey

If i have a directory myprojects under /var/www then there are two ways to give read write permission

open terminal by pressing Ctrl+Alt T when terminal window open type

cd /var/www


sudo chmod -R 0777 myprojects

press enter

or type in terminal

sudo chmod -R 0777 /var/www/myprojects

If this post help you reduce time to develop, you can help me to maintain this website :)