Our Latest Posts: -
Passive Income Smooths the Flow -
Hitting the Google Sweet Spot -
Vista Boomers - Microsoft's Power Failure -
Book Review: Programming in Objective-C 2.0 (Second Edition) Translators wanted!
Best of the Newsgroups:
What is this stuff?
Main Index
Subject: Re: 2 Questions
References: <6a13693a-b974-4e7e-8a46-5421adddcb6d@k37g2000hsf.googlegroups.com> <8B005451DE864FDBA494C85F91638332@venti>
From: spce...@armory.com (John DuBois)
Message-ID: <f4Gdna7N79TlbFLVnZ2dnUVZ_tTinZ2d@speakeasy.net>
Date: Tue, 16 Sep 2008 12:48:40 -0500
In article <8B005451DE864FDBA494C85F91638332@venti>,
Brian K. White <br...@aljex.com> wrote:
>
>----- Original Message -----
>From: "sdhaya" <dhaya.sni...@gmail.com>
>> Our application requires the /dev/tty10 /dev/tty11 /dev/tty12 owner,
>> group and mode to be online:online, read-write for all ( chmod 666 ).
>>
>> crw-rw-rw- 1 online online 0, 9 Sep 16 08:09 tty10
>> crw-rw-rw- 1 online online 0, 10 Sep 16 08:09 tty11
>> crw-rw-rw- 1 online online 0, 11 Sep 16 08:09 tty12
>>
>> After I change the owner, group and mode and restart the server, the
>> device owner, group and mode changes back as below :
>>
>> crw------- 1 bin terminal 0, 9 Sep 16 08:09 tty10
>> crw------- 1 bin terminal 0, 10 Sep 16 08:09 tty11
>> crw------- 1 bin terminal 0, 11 Sep 16 08:09 tty12
>>
>> How can I keep the owner, group and mode permanent..
>
>disable tty{10,11,12}
>chown online:online /dev/tty{10,11,12}
Also, to retain the ownership/mode beyond the next relink/kernel
environment rebuild, be sure to change the appropriate values in
/etc/conf/node.d/cn
See the idmknod(ADM) man page.
John
--
John DuBois spce...@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
Add your comments