jaulib v1.3.8
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
org.jau.fs.FMode.Bit Enum Reference
Collaboration diagram for org.jau.fs.FMode.Bit:

Public Member Functions

 Bit (final int v)
 

Public Attributes

 none =( 0 )
 No mode bit set.
 
 set_uid =( 04000 )
 Protection bit: POSIX S_ISUID.
 
 set_gid =( 02000 )
 Protection bit: POSIX S_ISGID.
 
 sticky =( 01000 )
 Protection bit: POSIX S_ISVTX.
 
 ugs_set =( 07000 )
 Protection bit: POSIX S_ISUID | S_ISGID | S_ISVTX.
 
 read_usr =( 00400 )
 Protection bit: POSIX S_IRUSR.
 
 write_usr =( 00200 )
 Protection bit: POSIX S_IWUSR.
 
 exec_usr =( 00100 )
 Protection bit: POSIX S_IXUSR.
 
 rwx_usr =( 00700 )
 Protection bit: POSIX S_IRWXU.
 
 read_grp =( 00040 )
 Protection bit: POSIX S_IRGRP.
 
 write_grp =( 00020 )
 Protection bit: POSIX S_IWGRP.
 
 exec_grp =( 00010 )
 Protection bit: POSIX S_IXGRP.
 
 rwx_grp =( 00070 )
 Protection bit: POSIX S_IRWXG.
 
 read_oth =( 00004 )
 Protection bit: POSIX S_IROTH.
 
 write_oth =( 00002 )
 Protection bit: POSIX S_IWOTH.
 
 exec_oth =( 00001 )
 Protection bit: POSIX S_IXOTH.
 
 rwx_oth =( 00007 )
 Protection bit: POSIX S_IRWXO.
 
 rwx_all =( 00777 )
 Protection bit: POSIX S_IRWXU | S_IRWXG | S_IRWXO or rwx_usr | rwx_grp | rwx_oth.
 
 def_dir_prot =( 00750 )
 Default directory protection bit: Safe default: POSIX S_IRWXU | S_IRGRP | S_IXGRP or rwx_usr | read_grp | exec_grp.
 
 def_file_prot =( 00640 )
 Default file protection bit: Safe default: POSIX S_IRUSR | S_IWUSR | S_IRGRP or read_usr | write_usr | read_grp.
 
 protection_mask =( 0b00000000000000000000111111111111 )
 12 bit protection bit mask 07777 for rwx_all | set_uid | set_gid | sticky .
 
 sock =( 0b00000000000000000001000000000000 )
 Type: Entity is a socket, might be in combination with link.
 
 blk =( 0b00000000000000000010000000000000 )
 Type: Entity is a block device ), might be in combination with link.
 
 chr =( 0b00000000000000000100000000000000 )
 Type: Entity is a character device ), might be in combination with link.
 
 fifo =( 0b00000000000000001000000000000000 )
 Type: Entity is a fifo/pipe ), might be in combination with link.
 
 dir =( 0b00000000000000010000000000000000 )
 Type: Entity is a directory ), might be in combination with link.
 
 file =( 0b00000000000000100000000000000000 )
 Type: Entity is a file ), might be in combination with link.
 
 link =( 0b00000000000001000000000000000000 )
 Type: Entity is a symbolic link ), might be in combination with file or dir ), fifo ), chr ), blk or sock.
 
 no_access =( 0b00100000000000000000000000000000 )
 Type: Entity gives no access to user ), exclusive bit.
 
 not_existing =( 0b01000000000000000000000000000000 )
 Type: Entity does not exist ), exclusive bit.
 
 type_mask =( 0b01100000000001111111000000000000 )
 Type mask for sock | blk | chr | fifo | dir | file | link | no_access | not_existing.
 
final int value
 

Detailed Description

Definition at line 38 of file FMode.java.

Constructor & Destructor Documentation

◆ Bit()

org.jau.fs.FMode.Bit.Bit ( final int v)

Definition at line 111 of file FMode.java.

Member Data Documentation

◆ blk

org.jau.fs.FMode.Bit.blk =( 0b00000000000000000010000000000000 )

Type: Entity is a block device ), might be in combination with link.

Definition at line 93 of file FMode.java.

◆ chr

org.jau.fs.FMode.Bit.chr =( 0b00000000000000000100000000000000 )

Type: Entity is a character device ), might be in combination with link.

Definition at line 95 of file FMode.java.

◆ def_dir_prot

org.jau.fs.FMode.Bit.def_dir_prot =( 00750 )

Default directory protection bit: Safe default: POSIX S_IRWXU | S_IRGRP | S_IXGRP or rwx_usr | read_grp | exec_grp.

Definition at line 82 of file FMode.java.

◆ def_file_prot

org.jau.fs.FMode.Bit.def_file_prot =( 00640 )

Default file protection bit: Safe default: POSIX S_IRUSR | S_IWUSR | S_IRGRP or read_usr | write_usr | read_grp.

Definition at line 85 of file FMode.java.

◆ dir

org.jau.fs.FMode.Bit.dir =( 0b00000000000000010000000000000000 )

Type: Entity is a directory ), might be in combination with link.

Definition at line 99 of file FMode.java.

◆ exec_grp

org.jau.fs.FMode.Bit.exec_grp =( 00010 )

Protection bit: POSIX S_IXGRP.

Definition at line 65 of file FMode.java.

◆ exec_oth

org.jau.fs.FMode.Bit.exec_oth =( 00001 )

Protection bit: POSIX S_IXOTH.

Definition at line 74 of file FMode.java.

◆ exec_usr

org.jau.fs.FMode.Bit.exec_usr =( 00100 )

Protection bit: POSIX S_IXUSR.

Definition at line 56 of file FMode.java.

◆ fifo

org.jau.fs.FMode.Bit.fifo =( 0b00000000000000001000000000000000 )

Type: Entity is a fifo/pipe ), might be in combination with link.

Definition at line 97 of file FMode.java.

◆ file

org.jau.fs.FMode.Bit.file =( 0b00000000000000100000000000000000 )

Type: Entity is a file ), might be in combination with link.

Definition at line 101 of file FMode.java.

◆ link

org.jau.fs.FMode.Bit.link =( 0b00000000000001000000000000000000 )

Type: Entity is a symbolic link ), might be in combination with file or dir ), fifo ), chr ), blk or sock.

Definition at line 103 of file FMode.java.

◆ no_access

org.jau.fs.FMode.Bit.no_access =( 0b00100000000000000000000000000000 )

Type: Entity gives no access to user ), exclusive bit.

Definition at line 105 of file FMode.java.

◆ none

org.jau.fs.FMode.Bit.none =( 0 )

No mode bit set.

Definition at line 40 of file FMode.java.

◆ not_existing

org.jau.fs.FMode.Bit.not_existing =( 0b01000000000000000000000000000000 )

Type: Entity does not exist ), exclusive bit.

Definition at line 107 of file FMode.java.

◆ protection_mask

org.jau.fs.FMode.Bit.protection_mask =( 0b00000000000000000000111111111111 )

12 bit protection bit mask 07777 for rwx_all | set_uid | set_gid | sticky .

Definition at line 88 of file FMode.java.

◆ read_grp

org.jau.fs.FMode.Bit.read_grp =( 00040 )

Protection bit: POSIX S_IRGRP.

Definition at line 61 of file FMode.java.

◆ read_oth

org.jau.fs.FMode.Bit.read_oth =( 00004 )

Protection bit: POSIX S_IROTH.

Definition at line 70 of file FMode.java.

◆ read_usr

org.jau.fs.FMode.Bit.read_usr =( 00400 )

Protection bit: POSIX S_IRUSR.

Definition at line 52 of file FMode.java.

◆ rwx_all

org.jau.fs.FMode.Bit.rwx_all =( 00777 )

Protection bit: POSIX S_IRWXU | S_IRWXG | S_IRWXO or rwx_usr | rwx_grp | rwx_oth.

Definition at line 79 of file FMode.java.

◆ rwx_grp

org.jau.fs.FMode.Bit.rwx_grp =( 00070 )

Protection bit: POSIX S_IRWXG.

Definition at line 67 of file FMode.java.

◆ rwx_oth

org.jau.fs.FMode.Bit.rwx_oth =( 00007 )

Protection bit: POSIX S_IRWXO.

Definition at line 76 of file FMode.java.

◆ rwx_usr

org.jau.fs.FMode.Bit.rwx_usr =( 00700 )

Protection bit: POSIX S_IRWXU.

Definition at line 58 of file FMode.java.

◆ set_gid

org.jau.fs.FMode.Bit.set_gid =( 02000 )

Protection bit: POSIX S_ISGID.

Definition at line 45 of file FMode.java.

◆ set_uid

org.jau.fs.FMode.Bit.set_uid =( 04000 )

Protection bit: POSIX S_ISUID.

Definition at line 43 of file FMode.java.

◆ sock

org.jau.fs.FMode.Bit.sock =( 0b00000000000000000001000000000000 )

Type: Entity is a socket, might be in combination with link.

Definition at line 91 of file FMode.java.

◆ sticky

org.jau.fs.FMode.Bit.sticky =( 01000 )

Protection bit: POSIX S_ISVTX.

Definition at line 47 of file FMode.java.

◆ type_mask

org.jau.fs.FMode.Bit.type_mask =( 0b01100000000001111111000000000000 )

Type mask for sock | blk | chr | fifo | dir | file | link | no_access | not_existing.

Definition at line 109 of file FMode.java.

◆ ugs_set

org.jau.fs.FMode.Bit.ugs_set =( 07000 )

Protection bit: POSIX S_ISUID | S_ISGID | S_ISVTX.

Definition at line 49 of file FMode.java.

◆ value

final int org.jau.fs.FMode.Bit.value

Definition at line 112 of file FMode.java.

◆ write_grp

org.jau.fs.FMode.Bit.write_grp =( 00020 )

Protection bit: POSIX S_IWGRP.

Definition at line 63 of file FMode.java.

◆ write_oth

org.jau.fs.FMode.Bit.write_oth =( 00002 )

Protection bit: POSIX S_IWOTH.

Definition at line 72 of file FMode.java.

◆ write_usr

org.jau.fs.FMode.Bit.write_usr =( 00200 )

Protection bit: POSIX S_IWUSR.

Definition at line 54 of file FMode.java.


The documentation for this enum was generated from the following file: