LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-01-2012, 02:18 AM   #1
redwarriors25
LQ Newbie
 
Registered: Aug 2012
Posts: 12

Rep: Reputation: Disabled
how to get access


im new in debian also in other linux software
how can i get to this always permission denied im also i root how to access for this


root@debian:/home/chervene# /etc/network/interfaces
bash: /etc/network/interfaces: Permission denied
root@debian:/home/chervene#
 
Old 09-01-2012, 02:49 AM   #2
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
What permissions does this have?

Try ls -l /etc/network/interfaces
 
Old 09-01-2012, 03:27 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
red;
Your command is attempting to execute a file named "interfaces" in the directory "/etc/network". Was that your intent?

Quote:
Try ls -l /etc/network/interfaces
I think you want: "ls -l /etc/network". For example, if "interfaces" is a directory, then you'll get info only on the **contents**.

There is of course "ls -lR" to get the complete picture.
 
Old 09-02-2012, 04:19 AM   #4
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
The command ls -l was just to view the rights shown on that particular file.

Are you using Network Manager?

Or are you setting up for a static IP Address?

Last edited by hyperhead; 09-02-2012 at 04:28 AM.
 
  


Reply



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
Unable to see shares on samba server - no authentication access desired (open access) neoelf Linux - Networking 1 06-14-2009 03:18 PM
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 12:33 PM
How to access database created with MS Access on Windows using PHP on Linux Server anjani.78 Linux - Software 1 12-21-2005 06:07 PM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration