LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 03:49 AM   #2
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 112

Rep: Reputation: 19
What permissions does this have?

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

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 05:19 AM   #4
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 112

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 05:28 AM.
 
  


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


All times are GMT -5. The time now is 04:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration