#1  
Old 11th September 2005, 20:13
dranieri dranieri is offline
Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dranieri
Default Permission Error

Hello to Everyone,

Can some one tell me why I am getting a permission denied when trying to
edit /etc/network/interfaces This the stable release of Debian/linux version 3.1r0a "sarge" following this tutorial http://www.howtoforge.com/perfect_setup_debian_sarge
I am logged in as root just in case anyone is wondering.
__________________
Thank You,
David

Last edited by dranieri; 11th September 2005 at 20:16.
Reply With Quote
Sponsored Links
  #2  
Old 11th September 2005, 20:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post the output of
Code:
ls -l /etc/network/interfaces
here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th September 2005, 20:41
dranieri dranieri is offline
Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dranieri
Default Re:

Quote:
Originally Posted by falko
Can you post the output of
Code:
ls -l /etc/network/interfaces
here?
command typed ls-/etc/network/interfaces
response -bash: ls-/etc/network/interfaces: N such file or directory
__________________
Thank You,
David
Reply With Quote
  #4  
Old 11th September 2005, 20:43
dranieri dranieri is offline
Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dranieri
Default Re:

I apologize not used to using forums at all. Will do better just please let me know in a nice way if I am making mistakes or anthing I could do better.

command typed ls-/etc/network/interfaces
response -bash: ls-/etc/network/interfaces: No such file or directory
__________________
Thank You,
David
Reply With Quote
  #5  
Old 11th September 2005, 21:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by dranieri
I apologize not used to using forums at all. Will do better just please let me know in a nice way if I am making mistakes or anthing I could do better.
No problem.

Quote:
command typed ls-/etc/network/interfaces
You made a typo there. The correct command is
Code:
ls -l /etc/network/interfaces
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 11th September 2005, 22:07
dranieri dranieri is offline
Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dranieri
Default RE: Permission Denied

Oh man sorry.
the return reply was -rw-r--r 1 root root 268 2005-09-11 12:32 /etc/network/interfaces
was wondering about permissions however don't know enough about setting them. Know perl pretty well but rusty on unix commands.
Interesting why root root
if I am reading corectly the permission for this file 644 which is not good.
Pulling out my hair and books again hmmm I see about the root root it means I am logged in as root user under the root.
PS Thank you tremendously.
__________________
Thank You,
David

Last edited by dranieri; 11th September 2005 at 22:12.
Reply With Quote
  #7  
Old 11th September 2005, 22:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,422 Times in 4,264 Posts
Default

Quote:
Originally Posted by dranieri
Oh man sorry.
the return reply was -rw-r--r 1 root root 268 2005-09-11 12:32 /etc/network/interfaces
was wondering about permissions however don't know enough about setting them. Know perl pretty well but rusty on unix commands.
Interesting why root root
if I am reading corectly the permission for this file 644 which is not good.
Pulling out my hair and books again hmmm I see about the root root it means I am logged in as root user under the root.
PS Thank you tremendously.
Hi, the permissions of /etc/network/interfaces are correct.
Which editor do you use? Try vi on the commandline or an editor like pico or nano at the commandline.
Reply With Quote
  #8  
Old 11th September 2005, 22:20
linutzy linutzy is offline
Member
 
Join Date: Jul 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chmod

#touch test
#ls -al test
-rw-r--r-- 1 user user 0 2005-09-11 16:17 test
#chmod 777 test
#ls -al test
-rwxrwxrwx 1 user user 0 2005-09-11 16:17 test
__________________
Debian 3.1 sarge stable user, http://www.falkotimme.com/howtos/per...arge/index.php site to install ispconfig to a tee. Linux student for life. Apache 2.0 with Postfix.
Reply With Quote
  #9  
Old 11th September 2005, 22:24
dranieri dranieri is offline
Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dranieri
 
Thumbs up RE: Thank you

I assumed too much. Seems Edit in the tutorial means as in run editor. I did not type ee /etc/network/interfaces
Thanks to everyone you folks are great.
Yippee spins in chair
__________________
Thank You,
David
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
ISPConfig on Centos Error so_ Installation/Configuration 2 31st August 2005 22:55
ERROR While upgrading to 2.0.8 adamluz Installation/Configuration 2 29th August 2005 21:30
Installation error - Makefile is older than makefile.org sybella1 Installation/Configuration 0 25th August 2005 20:49
Error trying to install - on RH9 bgarlock Installation/Configuration 7 17th August 2005 10:43


All times are GMT +2. The time now is 19:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.