LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why am I denied permission when I try to create a directory? (https://www.linuxquestions.org/questions/linux-newbie-8/why-am-i-denied-permission-when-i-try-to-create-a-directory-708281/)

toastyjsd 02-28-2009 06:14 PM

Why am I denied permission when I try to create a directory?
 


Hello everyone.

I am working on some homework for a Linux class that I am taking at college. Our final assignment is to setup a simple web page with apache and its not going to well. According to this list of steps the teacher gave me I am suppose to compile apache before I can start it. As far as I can tell the compiling was successful the next step is to use the "make install" command and Copy the newly compiled binaries to the /usr/local/apache directory/ but everytime I do that it says that I could not copy because "permission is denied". I have no idea what its talking about and I'm hoping someone can help me. If anyone has any ideas on how to fix this problem or know of a easier way to use apache I would love to hear it

Thanks In Advance
Toastyjsd

jay73 02-28-2009 06:35 PM

As a user, you have only access to our own home directory. A matter of security; it prevents that anyone can mess with your system or other people's home directories. If you do need access to system folders or other people's stuff, then you need to be administrator, that is, use the root password (su -) or, on systems like Ubuntu, sudo.

jschiwal 02-28-2009 06:49 PM

The install phase should be "sudo make install" not just "make install". This will copy the files to root writable system directories.


All times are GMT -5. The time now is 02:19 AM.