[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

On Thu, Jul 03, 2008 at 06:58:08PM +0200, Jonas Meurer wrote:
[pid 17413] execve("/bin/bash", ["bash"], [/* 16 vars */]) = -1 EACCES (Permission denied)
[pid 17413] open("/usr/share/locale/locale.alias", O_RDONLY) = -1 EACCES (Permission denied)
[pid 17413] open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 EACCES (Permission denied)
[pid 17413] write(2, "Cannot execute /bin/bash: Permis"..., 44Cannot execute /bin/bash: Permission denied) = 44
stat("/etc/localtime", 0x7fff302962f0)  = -1 EACCES (Permission denied)
open("/etc/localtime", O_RDONLY)        = -1 EACCES (Permission denied)
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = -1 EACCES (Permission denied)

This is very strange. /dev/log was opened before with success. Are the permissions of the directory „/usr/share/locale” correct? What are the permissions of /etc/localtime and /bin/bash? What says „file /bin/bash” and „ldd /bin/bash”?
Shade and sweet water!


| Stephan Seitz                    E-Mail: Nur-Ab-Sal@gmx.de |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |

Attachment: signature.asc
Description: Digital signature

Reply to: