LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2009, 06:14 PM   #1
toastyjsd
LQ Newbie
 
Registered: Dec 2008
Location: Princeton Indiana
Posts: 3

Rep: Reputation: 0
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
 
Old 02-28-2009, 06:35 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.

Last edited by jay73; 02-28-2009 at 06:36 PM.
 
Old 02-28-2009, 06:49 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't create /home/emailaddress/.openwebmail/db (permission denied) sar_kasirye Linux - Newbie 4 05-01-2011 02:01 AM
Couldn't create socket: Permission denied piforever Fedora 9 12-22-2005 04:52 PM
'permission denied' trying to mount a directory leupi Linux - Networking 19 12-04-2005 06:50 PM
permission denied to home directory ekdya Debian 3 11-08-2005 04:24 PM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 10:46 PM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration