You are not logged in.

#1 2012-02-06 04:59:39

Laplace's Daemon
Member
Registered: 2007-08-14
Posts: 30

Permissions (or something) got broken, can't find a fix

I was trying to install the printer driver for my Samsung printer that I got from Samsung's website some time ago.  I first tried to install it from user account using sudo, but noticed that it changed ownership and permissions for /lib64, /etc and /usr.  I then tried to install it from the root account, and noticed that it changed the permissions for the same folders again (though it kept ownerships as root:root).  I tried to change everything back, but I must have missed something because I can no longer log into my user account, nor run any commands from areas that are logged in already.

I can still log in as root.  When I try "su user", I get the error "su: /bin/bash: Permission denied"

I've installed the Samsung driver on two other Linux machines, one Arch and one Ubuntu, and never had problems like this before.  Can anyone help me clear up this problem?

Some additional information:

# ls -l /
total 69
drwxr-xr-x   2 root root  4096 Feb  1 12:52 bin/
drwxr-xr-x   4 root root  1024 Jan 27 20:27 boot/
drwxr-xr-x  16 root root  5300 Feb  4 08:11 dev/
drwxr-xr-x  76 root root  4096 Feb  5 21:34 etc/
drwxr-xr-x   4 root root  4096 Oct 25 03:54 home/
drwxr-xr-x  11 root root  4096 Feb  5 14:24 lib/
drwxr-xr-x   2 root root  4096 Jan 27 20:27 lib64/
drwx------   2 root root 16384 Oct 24 19:58 lost+found/
drwxr-xr-x   2 root root  4096 Jan 27 20:27 media/
drwxr-xr-x   2 root root  4096 Dec 19 10:44 mnt/
drwxr-xr-x   4 root root  4096 Feb  5 21:22 opt/
dr-xr-xr-x 160 root root     0 Feb  4 01:11 proc/
drwxr-x---   6 root root  4096 Feb  5 21:44 root/
drwxr-xr-x  18 root root   600 Feb  5 21:21 run/
drwxr-xr-x   2 root root  4096 Feb  1 12:52 sbin/
drwxr-xr-x   4 root root  4096 Dec 19 10:44 srv/
drwxr-xr-x  13 root root     0 Feb  4 01:11 sys/
drwxrwxrwt  16 root root   400 Feb  5 21:30 tmp/
drwxr-xr-x  10 root root  4096 Feb  5 21:30 usr/
drwxr-xr-x  12 root root  4096 Jan 27 20:27 var/
# ls -l home
total 20
drwx------ 39 user users  4096 Feb  5 20:02 user/
drwx------  2 root  root  16384 Oct 24 19:58 lost+found/
# ls -l /bin/bash
-rwxr-xr-x 1 root root 733896 Nov 22 23:46 /bin/bash*
# ls -l /etc/passwd
-rw-r--r-- 1 root root 613 Oct 25 20:46 /etc/passwd

Last edited by Laplace's Daemon (2012-02-06 05:09:11)

Offline

Board footer

Powered by FluxBB