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

Re: Problems opening fd for /dev/console...



On Mon, Jun 12, 2000 at 06:59:09AM -0700, Brian Macy wrote:
> Ben Collins wrote:
> > 
> > > execve("/usr/lib/man-db/man", ["man"], [/* 18 vars */]) = -1 EACCES
> > > (Permission denied)
> > > write(2, "execv: Permission denied\n", 25execv: Permission denied
> > > ) = 25
> > > exit(-13)                               = ?
> > >
> > > I also get several of these in the strace output but I'm assuming it is
> > > also related to /dev/console.
> > 
> > What are the perms on /dev/console? What are the perms also on /dev/ttyS0?
> 
> crw--w--w-    1 root     tty        5,   1 Jun 11 22:49 console
> crw--w--w-    1 root     root       4,  64 Jun 11 23:32 /dev/ttyS0
> crw--w--w-    1 root     tty        4,   0 Jun 11 22:49 /dev/tty0
> 
> Tried changing ttyS0 to be owned by group tty but made no difference.
> Which as a side not both stock debian 2.2.15 and my own 2.2.16 exhibit
> the same problems.

Odd, mine is:

crw-------    1 root     root       5,   1 Jun  9 19:52 /dev/console

So I don't know where your perms problem is coming from. Ahh, wait, your
problem is an exec, not the console. Blah, do this:

chmod 755 /

This is a known problem with the May 2.2.15 boot-floppies images. Fixed in
the June set.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: