LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-01-2006, 10:42 PM   #1
germanyzulu
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu "Dapper" 6.06 LTS
Posts: 18

Rep: Reputation: 1
Lib's Missing?? Permissions??


I have a serious problem.

Distro:

Ubuntu 6.06.1

Symptoms:

I was logged in ( to X ) when it started, I first got an error message complaining about Gnome not being able to find an icon (I've seen this before when I removed a program for which I had a launcher on the panel). Then all the icons on the panel disappeared! I then tried to repair the problem (at that point I thought I knew what caused it, see below) but had some trouble with some libs or something (can't remember now), so I rebooted. When it came back up I was not connected to the network any more. Ok so for more symptoms:

* If I try to login (user nicholas) it says "Cannot change directory to /home/nicholas". Permissions for /home and /home/nicholas are fine.
* If I login as root and su to nicholas it says "No Shell". Permissions for /bin and /bin/bash are fine.
* The command "ifup eth0" says "execve [sic] (/lib/dhcp3-client/call-dhclient-script, ...) Permission Denied".
* I thought I might have messed up some system libs so I did "apt-get install --reinstall $(dpkg --get-selections | grep -v deinstall)" to reinstall all installed packages, no joy. However, the packages "at" "f-prot-installer" and "hplip" will not install (failed to configure), "at" and "hplip" are the only packages I need to have "ubuntu-desktop" installed (meta-package that depends on the default desktop packages).
* Gdm will not start, but X will run (only as root) using "startx"
* I have compared a complete list of files from another ubuntu system, and I think all of the files are there (not sure my test was a good one)
* While trying to figure this out, I ran a find on everything in /, and I got an error about the "hardlink count in / being wrong (maybe a bug in the file system driver)"

What I did:

I'm not sure this caused the problem, but it's the last thing I did as root. I had installed the coldwar demo (stealth FPS type game, recently ported to linux), but it did not work (not a good enough graphics card), so I wanted to uninstall it but couldn't remember how. I read on the ubuntu forums that there it no defaut removal tool but to do "sudo checkinstall bash coldwar_demo.run" (hoping to then do an "apt-get remove coldwar" and remove it, but at the same time get a .deb out of it), somehow when I ran this it called the package "nicholas" and not "coldwar" so I removed it. Then the problems started.

I have looked at the deb package it created and it contains all that it should, as well as all of the directory /var/lib/gnome/Debian (which contains some .desktop files) and the empty file /var/lib/dpkg/lock. I have tried installing the deb again, with no joy.

Although I am willing to do a reload, ( I have good backups) I don't want to if it can be fixed some easier way.

Thanks for your help,

GermanyZulu
 
Old 09-04-2006, 08:07 PM   #2
germanyzulu
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu "Dapper" 6.06 LTS
Posts: 18

Original Poster
Rep: Reputation: 1
[SOLVED] Wrong Permmissions on "/"

I also wrote my Local LUG with this question and then after poking at it some more, it appears that somehow the permissions for "/" got changed to 700 root:root.

Code:
[root@mybox:$] ls -ld /
drwx------ 25 root root 1024 2006-09-01 14:09 /
I changed them back to 755 root:root and everything is working fine now.

Code:
[root@mybox:$] chmod 755 /
It seems that all the problems had to do with running daemons/processes as other users, (dhcp, at, gdm, etc)
 
  


Reply

Tags
chmod, daemon, libraries, permissions, solution, ubuntu, ubuntu606


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
missing jdbc isnt actually missing. trscookie Programming 0 06-04-2006 10:26 AM
Problem running UT Demo, Xlib missing on 0.0.. gldrv missing etc. RHLinuxGUY Linux - Games 3 05-21-2006 11:02 PM
Finding Lib's Blipside Linux - Newbie 3 10-15-2005 03:11 PM
I need lib's zozeer Linux - Software 4 09-22-2004 12:04 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM


All times are GMT -5. The time now is 09:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration