LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-19-2004, 02:23 PM   #1
amnesty_puppy
Member
 
Registered: Aug 2004
Location: Britain
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Internet not working (Permission Denied?)


Slack10 + XFCE, ResierFS

I was messing around with a remaster of Knoppix, spefically chrooting and mounting proc, before it stopped working. The morning after I booted up and the internet wasn't working, thinking that resolv.conf may have got messed up in the chrooting I had a look around and performing ls on /etc gives this errors:

ls: *: Permission denied

where * is mutt, dhcpc, nail.rc, dhcp.conf, yp.conf.sv, ntp.conf.sv, inetd.conf, lftp.conf
(don't know how to copy from aterm)

And this is by root.

I think this may be the problem.

Thanks, Dominic.
 
Old 10-19-2004, 02:27 PM   #2
n3tw0rk
Member
 
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
Looks like your permissions got changed somehow. While root type
chmod 755 /etc
and then ls again. It should work now.
 
Old 10-19-2004, 02:34 PM   #3
amnesty_puppy
Member
 
Registered: Aug 2004
Location: Britain
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
I tried that but root doesn't have permission, doing what you said doesn't bring up any errors but when I go into etc the errors are still there and chmodding the files directly gives:

chmod: failed to get attributes of 'file': Permission denied
 
Old 10-19-2004, 03:02 PM   #4
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Code:
root# chown root:root /etc/
root# chmod 755 /etc/
root# ls /etc/
Even though root should be able to change permissions without changing the ownership, just give this a try. What n3tw0rk said should have worked regardless.
 
Old 10-19-2004, 03:09 PM   #5
amnesty_puppy
Member
 
Registered: Aug 2004
Location: Britain
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
nup, chown gives same as chmod
 
Old 10-19-2004, 04:17 PM   #6
RJARRRPCGP
Member
 
Registered: Feb 2004
Location: USA (Springfield, Windsor County, Vermont)
Posts: 57

Rep: Reputation: 15
Well, all I can say is, the Linux settings probably got corrupted. The only solution to that is reinstall Linux .
 
Old 10-20-2004, 05:04 AM   #7
amnesty_puppy
Member
 
Registered: Aug 2004
Location: Britain
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
shiton, thanks for the help, I was thinking of changing to debian for a trial anway.

Dom.
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Permission Denied ryancoolest Linux - Newbie 7 10-03-2004 11:12 PM
Permission Denied NathanCohen2003 Linux - Software 4 07-10-2004 05:16 PM
Permission Denied DB03 Linux - Newbie 8 04-19-2004 06:20 AM
permission denied utopiaburns Linux - Newbie 2 05-17-2003 01:02 AM


All times are GMT -5. The time now is 03:31 PM.

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