public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]]
@ 2001-07-13  4:31 Viktor Lakics
  2001-07-13  5:23 ` Collins Richey
  2001-07-13  9:03 ` Daniel Robbins
  0 siblings, 2 replies; 3+ messages in thread
From: Viktor Lakics @ 2001-07-13  4:31 UTC (permalink / raw
  To: gentoo-dev

Thanks, Daniel,

I added the appropriate permissions to devfsd.conf and now it works, the perms
are stored (or regenerated accordingly).

What is the storing system are you referring to? If I disable the
"Automatically mount devfs at kernel boot" option, then I do not have the
devfs at all, so I went back to the old file based system. Is this correct?

Viktor


Daniel Robbins <drobbins@gentoo.org> wrote:
> Gentoo Linux 1.0_rc5 contains a system to store permissions, but in
> order for it to work, you must *not* enable the "Automatically mount
> devfs at kernel boot" option.  If you fix your kernel so that this
> option is disabled, then your perms should get stored.  This bug will
> be fixed in 1.0_rc6.
> 
> Best Regards,
> 
> -- 
> Daniel Robbins


> On Wed, Jul 11, 2001 at 09:24:42PM +0100, Viktor Lakics wrote:
> > Jerry,
> > 
> > I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
> > able to dial out as a normal user. I was happy. Then I rebooted and
> > the problem came back. The permissions changed back to what it was.
> > It seems to be that they are automatically generated at boot time.
> > 
> > Now what?
> > 
> > I know nothing about devfs, but I now that I have this thing mounted
> > automatically (I guess is built in the kernel - I do nor have to
> > pass anything to grub). Is it possible that I have to set the
> > permissions somehow through this devfs?!
> 
					<drobbins@gentoo.org>
> President/CEO					http://www.gentoo.org 
> Gentoo Technologies, Inc.			
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev


----Viktor Lakics----

Through the Internet:

  lakicsv@usa.net


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]]
  2001-07-13  4:31 [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]] Viktor Lakics
@ 2001-07-13  5:23 ` Collins Richey
  2001-07-13  9:03 ` Daniel Robbins
  1 sibling, 0 replies; 3+ messages in thread
From: Collins Richey @ 2001-07-13  5:23 UTC (permalink / raw
  To: gentoo-dev

On 13 Jul 2001 11:29:07 BST Viktor Lakics <lakicsv@usa.net> wrote:

> Thanks, Daniel,
> 
> I added the appropriate permissions to devfsd.conf and now it works, the
> perms
> are stored (or regenerated accordingly).
> 
> What is the storing system are you referring to? If I disable the
> "Automatically mount devfs at kernel boot" option, then I do not have
> the
> devfs at all, so I went back to the old file based system. Is this
> correct?
> 
> Viktor
> 
> 
> Daniel Robbins <drobbins@gentoo.org> wrote:
> > Gentoo Linux 1.0_rc5 contains a system to store permissions, but in
> > order for it to work, you must *not* enable the "Automatically mount
> > devfs at kernel boot" option.  If you fix your kernel so that this
> > option is disabled, then your perms should get stored.  This bug will
> > be fixed in 1.0_rc6.
> > 
>
> > On Wed, Jul 11, 2001 at 09:24:42PM +0100, Viktor Lakics wrote:
> > > Jerry,
> > > 
> > > I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
> > > able to dial out as a normal user. I was happy. Then I rebooted and
> > > the problem came back. The permissions changed back to what it was.
> > > It seems to be that they are automatically generated at boot time.
> > > 
> > > Now what?
> > > 
> > > I know nothing about devfs, but I now that I have this thing mounted
> > > automatically (I guess is built in the kernel - I do nor have to
> > > pass anything to grub). Is it possible that I have to set the
> > > permissions somehow through this devfs?!
> > 

Jerry,

Once you disable "Automatically mount devfs at kernel boot", you need to
enter the command 'rc-update add devfsd' to add the appropriate symlink to
your /etc/rc.d/rc0.d directory.  This will cause Gentoo to enable devfs at
the appropriate time during bootup.

Note that the generated devfs system you get will be partially dependant
on kernel modules that you have loaded.  For example, I have sound modules
loaded and the /dev/sound/* entries retain their permissions properly from
boot to boot.

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]]
  2001-07-13  4:31 [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]] Viktor Lakics
  2001-07-13  5:23 ` Collins Richey
@ 2001-07-13  9:03 ` Daniel Robbins
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Robbins @ 2001-07-13  9:03 UTC (permalink / raw
  To: gentoo-dev

On Fri, Jul 13, 2001 at 11:29:07AM +0100, Viktor Lakics wrote:
> Thanks, Daniel,
> 
> I added the appropriate permissions to devfsd.conf and now it works, the perms
> are stored (or regenerated accordingly).
> 
> What is the storing system are you referring to? If I disable the
> "Automatically mount devfs at kernel boot" option, then I do not have the
> devfs at all, so I went back to the old file based system. Is this correct?

Actually, if you turn off that kernel option, the initscripts still mount
devfs if you are using a stock 1.0_rc5 setup.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-13 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13  4:31 [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]] Viktor Lakics
2001-07-13  5:23 ` Collins Richey
2001-07-13  9:03 ` Daniel Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox