[BusyBox] help with bb login please.

Steve Wahl swahl at brecis.com
Tue Jul 22 21:53:19 UTC 2003


On Tue, Jul 22, 2003 at 05:26:25PM -0400, Frank R Callaghan wrote:
> I guess I'm buggered then ! since I need /dev/null word-writeable
> for login !?
> 
> Is there any other solution I can try ?

I think you have to choose one of these paths:

   1)  Change login to not need writeable /dev/null
   2)  Change ROMFS to make /dev/null world writable 
   3)  Use a different FS for /dev (devfs comes to mind).

--> Steve

> TIA,
> 	Frank.
> 
> On Tuesday 22 July 2003 16:49, you wrote:
> > Frank,
> >
> > romfs is limited in what it can represent for the permissions bits of
> > a file.
> >
> > Documentation/filesystems/romfs.txt:
> >
> > ...
> > Since the file headers begin always at a 16 byte boundary, the lowest
> > 4 bits would be always zero in the next filehdr pointer.  These four
> > bits are used for the mode information.  Bits 0..2 specify the type of
> > the file; while bit 4 shows if the file is executable or not.  The
> > permissions are assumed to be world readable, if this bit is not set,
> > and world executable if it is; except the character and block devices,
> > they are never accessible for other than owner.  The owner of every...
> >
> > --> Steve
> >
> > On Tue, Jul 22, 2003 at 04:34:23PM -0400, Frank R Callaghan wrote:
> > > Thanks Manuel,
> > > It look like thats the case my
> > > romfs seems to have set all /dev to  400 ! but
> > > its not that way in my image directory setup ???
> > > I have no idea why this is happening !
> > >
> > > Cheers,
> > >     Frank.
> > >
> > > On Tuesday 22 July 2003 03:44 pm, you wrote:
> > > > Hello,
> > > >
> > > > On Tue, Jul 22, 2003 at 03:29:48PM -0400, Frank R Callaghan wrote:
> > > > > login: bb_xasprintf: Permission denied  <<---===========
> > > >
> > > > If you are using uClibc, then you probably have a permission problem
> > > > on /dev/null.  It should be rw for everyone.
> > > >
> > > > Manuel
> > >
> > > _______________________________________________
> > > busybox mailing list
> > > busybox at mail.busybox.net
> > > http://busybox.net/mailman/listinfo/busybox



More information about the busybox mailing list