
11th September 2005, 21:13
|
|
Member
|
|
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 21:16.
|

11th September 2005, 21:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Can you post the output of
Code:
ls -l /etc/network/interfaces
here?
|

11th September 2005, 21:41
|
|
Member
|
|
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

11th September 2005, 21:43
|
|
Member
|
|
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

11th September 2005, 22:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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
|

11th September 2005, 23:07
|
|
Member
|
|
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 23:12.
|

11th September 2005, 23:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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.
|

11th September 2005, 23:20
|
|
Member
|
|
Join Date: Jul 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

11th September 2005, 23:24
|
|
Member
|
|
Join Date: Sep 2005
Location: Pennsylvania
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:01.
|
Recent comments
21 hours 28 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago