AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

AIX crw-rw-rwT and brw-rw---- meaning

  • 1.  AIX crw-rw-rwT and brw-rw---- meaning

    Posted Tue August 18, 2015 04:42 PM

    Originally posted by: BrasilKirin


    Hello!

    Does anyone knows what is the meaning of this kind of 'special permissions' found at /dev directory into AIX

    Example, when I give a ls -ltr inside /dev directory I have this list bellow:

    crw-rw-rwT    1 root         39,1232 Apr 19 06:16 rmt16.40
    crw-rw-rwT    1 root         39,1216 Apr 19 06:16 rmt16.4
    crw-rw-rwT    1 root         39,1221 Apr 19 06:16 rmt16.3
    crw-rw-rwT    1 root         39,1224 Apr 19 06:16 rmt16.20
    crw-rw-rwT    1 root         39,1220 Apr 19 06:16 rmt16.2
    crw-rw-rwT    1 root         39,1225 Apr 19 06:16 rmt16.10
    crw-rw-rwT    1 root         39,1217 Apr 19 06:16 rmt16.1
    crw-rw-rwT    1 root         39,1216 Apr 19 06:16 rmt16
    crw-rw----    1 root         40, 12 Jul 15 11:16 rlv11
    brw-rw----    1 root         40, 12 Jul 15 11:16 lv11
    brw-rw----    1 root         10,  1 Jul 15 11:16 hd5
    crw-------    1 root         40,  0 Jul 15 11:16 __vg40
    crw-rw-rw-    1 root          1,  0 Jul 31 16:27 tty
    drwxrwx---    2 root           4096 Aug 18 00:00 .SRC-unix
    crw-rw-rw-    1 root          2,  2 Aug 18 17:32 null

    Anyone knows what is these    c,b or T ?

    Regards,

    Nilton



  • 2.  Re: AIX crw-rw-rwT and brw-rw---- meaning

    Posted Tue August 18, 2015 05:19 PM

    Originally posted by: AncientAIXer


    c is character-oriented device, b is block-oriented device.  T is the "sticky bit" that only file owners can link or unlink files.  man mknod and man chmod.