Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 12-21-2005, 03:37 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
Debian 3.1 "permission denied"!

I followed the tutorial exactly, but when i arrive at step 3 , I try to edit the /etc/network/interfaces and I get a this response. Here is the exact message after typing in /etc/network/interfaces
-bash: /etc/netwok/interfaces: Permission denied
Any help is appreciated.
Thx in advance!
Old 12-21-2005, 04:27 PM   #2
Registered: May 2005
Distribution: Gentoo & Debian
Posts: 76

Rep: Reputation: 15
were you the root user at the time.
if you had a $ symbol than you are a normal user. If you have a # symbol then you are root.

To become root just type "su" in the console and you password.
Old 12-21-2005, 08:38 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Also, if you just typed /etc/network/interfaces, you tried to execute the file, not edit it. You should preface the path to the file with the editor of your choice. Everything written above about being root is true, but then as root, you need something like:

vim /etc/network/interfaces
emacs /etc/network/interfaces
kate /etc/network/interfaces
pico /etc/network/interfaces
vi /etc/network/interfaces
So forth and so on.

Old 12-22-2005, 12:22 AM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

Closed Thread

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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 02:05 PM
Debian 3.1 "permission denied"! AdykOSu Debian 4 12-22-2005 07:24 AM
MPlayer "make install" Permission denied. Belgium! Chrax Linux - General 2 09-09-2004 07:22 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 09:08 AM > Forums > Linux Forums > Linux - Newbie

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

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