FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-22-2012, 03:12 AM
Russell Coker
 
Default sticky bit on devices

I've just noticed that a bunch of device nodes on my main system running
Unstable now have the sticky bit set.

Why is that?

crw-rw---T. 1 root lp 6, 0 May 18 23:47 lp0
crw-r----T. 1 root kmem 1, 1 May 18 23:46 mem
crw-rw---T+ 1 root audio 14, 0 May 18 23:46 mixer
crw-rw---T+ 1 root audio 14, 16 May 18 23:46 mixer1
crw-rw---T. 1 root lp 99, 0 May 18 23:47 parport0
crw-r----T. 1 root kmem 1, 4 May 18 23:46 port
crw------T. 1 root root 108, 0 May 18 23:46 ppp
brw-rw---T. 1 root disk 8, 0 May 18 23:46 sda
brw-rw---T. 1 root disk 8, 1 May 18 23:47 sda1
brw-rw---T. 1 root disk 8, 2 May 22 13:04 sda2
brw-rw---T. 1 root floppy 8, 16 May 22 13:01 sdb
crw-rw---T. 1 root dialout 4, 64 May 18 23:46 ttyS0
crw-rw---T. 1 root dialout 4, 65 May 18 23:46 ttyS1
crw-rw---T. 1 root dialout 4, 66 May 18 23:46 ttyS2
crw-rw---T. 1 root dialout 4, 67 May 18 23:46 ttyS3
crw------T. 1 root root 10, 223 May 18 23:46 uinput

--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205221312.19219.russell@coker.com.au">http://lists.debian.org/201205221312.19219.russell@coker.com.au
 
Old 05-22-2012, 05:25 AM
Yves-Alexis Perez
 
Default sticky bit on devices

On mar., 2012-05-22 at 13:12 +1000, Russell Coker wrote:
> I've just noticed that a bunch of device nodes on my main system running
> Unstable now have the sticky bit set.
>
Google search seems to say that the question has already been asked and
replied on debian-user
http://lists.debian.org/debian-user/2012/02/msg01273.html


Regards,
--
Yves-Alexis
 
Old 05-22-2012, 06:14 AM
Russell Coker
 
Default sticky bit on devices

On Tue, 22 May 2012, "Yves-Alexis Perez" <corsac@debian.org> wrote:
> On mar., 2012-05-22 at 13:12 +1000, Russell Coker wrote:
> > I've just noticed that a bunch of device nodes on my main system running
> > Unstable now have the sticky bit set.
>
> Google search seems to say that the question has already been asked and
> replied on debian-user
> http://lists.debian.org/debian-user/2012/02/msg01273.html

Why are some devices getting it but not others?

/dev/ttyS? get the sticky bit even though the serial port driver is linked
into the kernel and this issue is thus irrelevant (at least on amd64).

/dev/watchdog is from the softdog module which can be unloaded but it doesn't
have the sticky bit. Why is /dev/watchdog a good device to remove?

/dev/sd* device have the sticky bit set, but they are removed when the
hardware is removed (EG unplugging a USB flash device). Why is that?

--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205221614.27750.russell@coker.com.au">http://lists.debian.org/201205221614.27750.russell@coker.com.au
 

Thread Tools




All times are GMT. The time now is 10:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org