View Full Version : Permission Error
dranieri
11th September 2005, 21:13
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.
falko
11th September 2005, 21:34
Can you post the output of
ls -l /etc/network/interfaces
here?
dranieri
11th September 2005, 21:41
Can you post the output of
ls -l /etc/network/interfaces
here?
command typed ls-/etc/network/interfaces
response -bash: ls-/etc/network/interfaces: N such file or directory
dranieri
11th September 2005, 21:43
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
falko
11th September 2005, 22:04
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. :)
command typed ls-/etc/network/interfaces
You made a typo there. The correct command is ls -l /etc/network/interfaces
dranieri
11th September 2005, 23:07
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.
till
11th September 2005, 23:16
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.
linutzy
11th September 2005, 23:20
#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
dranieri
11th September 2005, 23:24
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 :)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.