i have ubuntu 9.10 and there is one directory that i work with which is the www directory for web building. what do i type into the terminal to allow me to add,delete,modify files witout having to sudo everytime?
thanks
|
i have ubuntu 9.10 and there is one directory that i work with which is the www directory for web building. what do i type into the terminal to allow me to add,delete,modify files witout having to sudo everytime? thanks |
|||
|
|
|
If you make yourself the owner of the directory used by the webserver, chances are you will experience troubles and - at worst - the webserver will stop to run. Whenever possible, avoid to change owners and permission of system directories and files (see my second alternative proposal). If you still want to use the CLI but can't really suffer to type "sudo " in front to your commands, you could however... Include yourself in the group that folder is owned by, and make sure group permission is W
If you are a GUI person, you can alternatively open the file navigator with gksudo See the ubuntu wiki for more information and how-to. |
|||
|
|
|
Rather than granting write access to the whole word, simply make yourself the owner of that directory:
|
|||
|
|
|
The easiest way is giving r/w permissions to every user on the system:
|
||||
|
|