Re: [gentoo-user] /dev permissions

2003-09-09 Thread Paulo da Silva
Thank you! That's what I was looking for.

Norberto Bensa escreveu:

As single user, rm -rf /lib/dev-state/* and reboot.
...
Regards,
Norberto
 





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] /dev permissions

2003-09-07 Thread Norberto Bensa
Paulo da Silva wrote:
> Hi!
>
> Where are the /dev permissions kept?
> I changed some /dev permissions but I would like to restore
> them to the original status.

As single user, rm -rf /lib/dev-state/* and reboot.

Keep in mind that you'll be removing devices created by some packages. Take 
note of them.

Regards,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] /dev permissions

2003-09-06 Thread Meka[ni]
On Sun, 07 Sep 2003 01:19:24 +0100
Paulo da Silva <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> Where are the /dev permissions kept?
> I changed some /dev permissions but I would like to restore
> them to the original status.
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
/etc/devfsd.conf. Good luck


Meka[ni]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /dev permissions

2003-09-06 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 September 2003 01:19, Paulo da Silva wrote:
> Hi!
>
> Where are the /dev permissions kept?
> I changed some /dev permissions but I would like to restore
> them to the original status.

devfs should reset some of them upon un/reloading of the appropriate modules 
or a reboot, otherwise /dev entries are basically the same as normal files.
If what you have changed doesn't get reset after a reboot, and is causing you 
trouble post to the list and I'm sure someone can tell you the default.

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Wn2lInuLMrk7bIwRAs0wAJ4okKJdrOZg5VQHj8f7uer292k1eQCfb4SO
uktGX8bt7gnfS7yL27z4NAo=
=cNEL
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



[gentoo-user] /dev permissions

2003-09-06 Thread Paulo da Silva
Hi!

Where are the /dev permissions kept?
I changed some /dev permissions but I would like to restore
them to the original status.


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] dev permissions

2003-06-11 Thread Zack Gilburd
On Wednesday 11 June 2003 16:54, Robin H.Johnson wrote:
> On Wed, Jun 11, 2003 at 03:31:00PM -0700, Zack Gilburd wrote:
> Content-Description: signed data
>
> > On Tuesday 10 June 2003 00:41, Laurence Baldwin wrote:
> > > In the proccess of swopping my hdd around Ive managed to change all the
> > > permissions of my /dev/* to root:root.
> > >
> > > Is there any easy way I can fix this? I dont have another gentoo box I
> > > can look at :(
> >
> > Everything in dev should be owned by root.
>
> Actually, you are partially in error there.
> While the great majority of the devices are owned by root:root, there are a
> number that have other owners and groups.
>
> files in /dev/pts/ should be explictly owned by the user on that shell,
> with a group of 'tty'.
>
> /dev/floppy/* should have a group of 'floppy' so that you can let local
> users mount and handle floppy disks without root access.
> The cdrom devices (/dev/ide/host?/bus?/target?/lun?/cd) have a group of
> 'cdrom' for the same reason.
>
> /dev/tts/* are generally root.root, or root.serial. In special cases
> they may be owned by other users, particually when used with a UPS.
>
> There is plenty more stuff like this. I suggest looking at
> /etc/devfsd.conf for some more of it.
Effectively, yes.  I wasn't quite clear enough, I suppose.  I mean to say that 
all *hard drive* devices are owned by root:root.  (Or at least they should 
be.)
-- 
Zack Gilburd
http://tehunlose.com


pgp0.pgp
Description: signature


Re: [gentoo-user] dev permissions

2003-06-11 Thread Christopher Egner
Don't forget the most important, sound ;) All the stuff under sound, and
snd isn't. I believe its set to the current user AT the machine with
group audio. Although mine just could be screwed up.

On Wed, 2003-06-11 at 23:54, Robin H.Johnson wrote:
> On Wed, Jun 11, 2003 at 03:31:00PM -0700, Zack Gilburd wrote:
> Content-Description: signed data
> > On Tuesday 10 June 2003 00:41, Laurence Baldwin wrote:
> > > In the proccess of swopping my hdd around Ive managed to change all the
> > > permissions of my /dev/* to root:root.
> > >
> > > Is there any easy way I can fix this? I dont have another gentoo box I
> > > can look at :(
> > Everything in dev should be owned by root.
> Actually, you are partially in error there.
> While the great majority of the devices are owned by root:root, there are a
> number that have other owners and groups.
> 
> files in /dev/pts/ should be explictly owned by the user on that shell,
> with a group of 'tty'.
> 
> /dev/floppy/* should have a group of 'floppy' so that you can let local
> users mount and handle floppy disks without root access.
> The cdrom devices (/dev/ide/host?/bus?/target?/lun?/cd) have a group of
> 'cdrom' for the same reason.
> 
> /dev/tts/* are generally root.root, or root.serial. In special cases
> they may be owned by other users, particually when used with a UPS.
> 
> There is plenty more stuff like this. I suggest looking at
> /etc/devfsd.conf for some more of it.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev permissions

2003-06-11 Thread Robin H . Johnson
On Wed, Jun 11, 2003 at 03:31:00PM -0700, Zack Gilburd wrote:
Content-Description: signed data
> On Tuesday 10 June 2003 00:41, Laurence Baldwin wrote:
> > In the proccess of swopping my hdd around Ive managed to change all the
> > permissions of my /dev/* to root:root.
> >
> > Is there any easy way I can fix this? I dont have another gentoo box I
> > can look at :(
> Everything in dev should be owned by root.
Actually, you are partially in error there.
While the great majority of the devices are owned by root:root, there are a
number that have other owners and groups.

files in /dev/pts/ should be explictly owned by the user on that shell,
with a group of 'tty'.

/dev/floppy/* should have a group of 'floppy' so that you can let local
users mount and handle floppy disks without root access.
The cdrom devices (/dev/ide/host?/bus?/target?/lun?/cd) have a group of
'cdrom' for the same reason.

/dev/tts/* are generally root.root, or root.serial. In special cases
they may be owned by other users, particually when used with a UPS.

There is plenty more stuff like this. I suggest looking at
/etc/devfsd.conf for some more of it.

-- 
Robin Hugh Johnson
E-Mail : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#   : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] dev permissions

2003-06-11 Thread Zack Gilburd
On Tuesday 10 June 2003 00:41, Laurence Baldwin wrote:
> Hi,
> In the proccess of swopping my hdd around Ive managed to change all the
> permissions of my /dev/* to root:root.
>
> Is there any easy way I can fix this? I dont have another gentoo box I
> can look at :(
>
> Cheers
>   Laurence
>
>
> --
> [EMAIL PROTECTED] mailing list
Everything in dev should be owned by root.
-- 
Zack Gilburd
http://tehunlose.com




pgp0.pgp
Description: signature


[gentoo-user] dev permissions

2003-06-10 Thread Laurence Baldwin
Hi,
In the proccess of swopping my hdd around Ive managed to change all the 
permissions of my /dev/* to root:root.

Is there any easy way I can fix this? I dont have another gentoo box I 
can look at :(

Cheers
Laurence
--
[EMAIL PROTECTED] mailing list