Gentoo Archives: gentoo-dev

From: Terje Kvernes <terjekv@××××××××.no>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]
Date: Wed, 11 Jul 2001 16:01:12
Message-Id: wxx7kxfgm8e.fsf@sex.ifi.uio.no
1 Viktor Lakics <lakicsv@×××.net> writes:
2
3 > I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
4 > able to dial out as a normal user. I was happy. Then I rebooted and
5 > the problem came back. The permissions changed back to what it was.
6 > It seems to be that they are automatically generated at boot time.
7
8 ah. hm. right. I sort of smell devfs here. getting devfs to store
9 permissions between boots isn't trivial.
10
11 > Now what?
12
13 you might want to fiddle with pam for stuff like this. or manually
14 make a small hack for it.
15
16 > I know nothing about devfs, but I now that I have this thing mounted
17 > automatically (I guess is built in the kernel - I do nor have to
18 > pass anything to grub). Is it possible that I have to set the
19 > permissions somehow through this devfs?!
20
21 sort of, yes.
22
23 > If yes, how? What is the utility to do that?
24
25 <url: http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html#persistence >
26
27 --
28 Terje