en:docs:dos:api:int21:3d

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:dos:api:int21:3d [2021/09/29 11:22] prokusheven:docs:dos:api:int21:3d [2024/05/02 07:55] (current) prokushev
Line 36: Line 36:
  
 file handles which are inherited from a parent also inherit sharing and access restrictions file handles which are inherited from a parent also inherit sharing and access restrictions
-        files may be opened even if given the hidden or system attributes + 
-        under the FlashTek X-32 DOS extender, the pointer is in DS:EDX +files may be opened even if given the hidden or system attributes 
-        DR DOS checks the system password or explicitly supplied password at + 
-          the end of the filename (following a semicolon) against the reserved +under the FlashTek X-32 DOS extender, the pointer is in DS:EDX 
-          field in the directory entry before allowing access + 
-        sharing modes are only effective on local drives if SHARE is loaded+DR DOS checks the system password or explicitly supplied password at 
 + 
 +the end of the filename (following a semicolon) against the reserved 
 + 
 +field in the directory entry before allowing access 
 + 
 +sharing modes are only effective on local drives if SHARE is loaded
  
 Novell DOS 7 SHARE v1.00 would refuse file access in the cases in #01403 marked with [1] (read-only open of a read-only file which had previously been opened in compatibility mode); this was fixed in SHARE v1.01 of 09/29/94 Novell DOS 7 SHARE v1.00 would refuse file access in the cases in #01403 marked with [1] (read-only open of a read-only file which had previously been opened in compatibility mode); this was fixed in SHARE v1.01 of 09/29/94
Line 48: Line 54:
  
 ^ Bit(s) ^ Description ^    (Table 01402) ^ Bit(s) ^ Description ^    (Table 01402)
-| 2-0  |  access mode |+| 2-0  | access mode |
 | ::: | 000 read only | | ::: | 000 read only |
 | ::: | 001 write only | | ::: | 001 write only |
Line 67: Line 73:
 Values of DOS 2-6.22 file sharing behavior: Values of DOS 2-6.22 file sharing behavior:
  
-^ First Open ^      Second and subsequent Opens ^^^^^^^^^^^^^^^ +^ First Open    ^^      Second and subsequent Opens         ^^^^^^^^^^^^^^^ 
-^ :::        ^ Compat ^^^ Deny All ^^^ Deny Write ^^^ Deny Read ^^^ Deny None ^^^ +^ :::           ^^ Compat ^^^ Deny All ^^^ Deny Write ^^^ Deny Read ^^^ Deny None ^^^ 
-^ :::        ^ R ^ W ^ RW ^ R ^  W ^ RW ^ R ^ W ^ RW ^ R ^ W ^ RW ^ R ^ W ^ RW ^ +^ :::           ^^ R ^ W ^ RW ^ R ^  W ^ RW ^ R ^ W ^ RW ^ R ^ W ^ RW ^ R ^ W ^ RW ^ 
- - - - - -| - - - - - - - - - - - - - - - - - +Compat     ^ R | Y | 
- Compat R |Y Y Y  N N N  1 N N  N N N  1 N N +^ :::        W | Y | 
-        W |Y Y Y  N N N  N N N  N N N  N N N +^ :::        RW| Y N | 
-        RW|Y Y Y  N N N  N N N  N N N  N N N +Deny All   R | C | 
- - - - - -+^ :::        ^ W | C | 
- Deny   R |C C C  N N N  N N N  N N N  N N N +^ :::        RW| C N | 
- All    W |C C C  N N N  N N N  N N N  N N N +Deny Write ^ R | 2 | 
-        RW|C C C  N N N  N N N  N N N  N N N +^ :::        ^ W | C | 
- - - - - -+^ :::        RW| C N | 
- Deny   R |2 C C  N N N  Y N N  N N N  Y N N +Deny Read  ^ R | C | 
- Write  W |C C C  N N N  N N N  Y N N  Y N N +^ :::        ^ W | C | 
-        RW|C C C  N N N  N N N  N N N  Y N N +^ :::        RW| C N | 
- - - - - -+Deny None  ^ R | 2 | 
- Deny   R |C C C  N N N  N Y N  N N N  N Y N +^ :::        ^ W | C | 
- Read   W |C C C  N N N  N N N  N Y N  N Y N +^ :::        RW| C 
-        RW|C C C  N N N  N N N  N N N  N Y N + 
- - - - - -+Legend: 
- Deny   R |2 C C  N N N  Y Y Y  N N N  Y Y Y +Y = open succeeds, N = open fails with error code 05h 
- None   W |C C C  N N N  N N N  Y Y Y  Y Y Y +C = open fails, INT 24 generated 
-        RW|C C C  N N N  N N N  N N N  Y Y Y +1 = open succeeds if file read-only, else fails with error code 
-Legend: Y = open succeeds, N = open fails with error code 05h +2 = open succeeds if file read-only, else fails with INT 24 
-        C = open fails, INT 24 generated +
-        1 = open succeeds if file read-only, else fails with error code +
-        2 = open succeeds if file read-only, else fails with INT 24+
  
-(Table 01404) 
 Values for DOS 7.x file sharing behavior: Values for DOS 7.x file sharing behavior:
-          |     Second and subsequent Opens + 
- First    |Compat    Deny      Deny      Deny      Deny +^ First Open ^^ Second and subsequent Opens ^^^^^^^^^^^^^^^^^^^^ 
- Open              All       Write     Read      None +^ :::           ^^ Compat ^^^^ Deny All ^^^^ Deny Write ^^^^ Deny Read ^^^^ Deny None ^^^^ 
-          |R W RW A  W RW A  R W RW A  R W RW A  R W RW A +^ :::           ^^ RW A^ R ^  RW RW RW RW ^ 
- - - - - -| - - - - - - - - - - - - - - - - - - - - - - - - +Compat     ^  | Y | 
- Compat R |Y Y Y Y   N N N N   Y N N Y   N N N Y   Y N N Y +^ :::         | Y | 
-        W |Y Y Y C   N N N N   N N N N   N N N Y   Y N N Y +^ :::        RW | Y | 
-        RW|Y Y Y C   N N N N   N N N N   N N N Y   Y N N Y +^ :::        NA | Y Y | 
-        NA|Y C C Y   N N N N   Y N N Y   N N N Y   Y N N Y +Deny All    | C | 
- - - - - -+^ :::        ^  | C | 
- Deny   R |C C C C   N N N N   N N N N   N N N N   N N N N +^ :::        RW | C | 
- All    W |C C C C   N N N N   N N N N   N N N N   N N N N +^ :::        NA | C N | 
-        RW|C C C C   N N N N   N N N N   N N N N   N N N N +Deny Write ^  | Y | 
-        NA|C C C C   N N N N   N N N N   N N N N   N N N N +^ :::        ^  | C | 
- - - - - -+^ :::        RW | C | 
- Deny   R |Y C C Y   N N N N   Y N N Y   N N N Y   Y N N Y +^ :::        NA | Y Y | 
- Write  W |C C C C   N N N N   N N N N   Y N N Y   Y N N Y +Deny Read  ^  | C | 
-        RW|C C C C   N N N N   N N N N   N N N Y   Y N N Y +^ :::        ^  | C | 
-        NA|Y C C Y   N N N N   Y N N Y   N N N Y   Y N N Y +^ :::        RW | C | 
- - - - - -+^ :::        NA | Y Y | 
- Deny   R |C C C C   N N N N   N Y N N   N N N N   N Y N N +Deny None  ^  | Y | 
- Read   W |C C C C   N N N N   N N N N   N Y N N   N Y N N +^ :::        ^  | C | 
-        RW|C C C C   N N N N   N N N N   N N N N   N Y N N +^ :::        RW | C | 
-        NA|Y Y Y Y   N N N N   Y Y Y Y   N N N Y   Y Y Y Y +^ :::        NA | Y 
- - - - - -+
- Deny   R |Y Y Y Y   N N N N   Y Y Y Y   N N N Y   Y Y Y Y +
- None   W |C C C C   N N N N   N N N N   Y Y Y Y   Y Y Y Y +
-        RW|C C C C   N N N N   N N N N   N N N Y   Y Y Y Y +
-        NA|Y Y Y Y   N N N N   Y Y Y Y   N N N Y   Y Y Y Y+
 Legend: R -> reading, W -> writing, RW -> both reading & writing, Legend: R -> reading, W -> writing, RW -> both reading & writing,
         A/NA -> reading without access time update         A/NA -> reading without access time update
Line 133: Line 132:
 ===== See also ===== ===== See also =====
  
-AH=0Fh,AH=3Ch,AX=4301h,AX=5D00h,INT 2F/AX=1116h,INT 2F/AX=1226h+AH=[[en:docs:dos:api:int21:0f|0Fh]],AH=[[en:docs:dos:api:int21:3c|3Ch],AX=[[en:docs:dos:api:int21:43:01|4301h]],AX=[[en:docs:dos:api:int21:5d:00|5D00h]],INT 2F/AX=1116h,INT 2F/AX=1226h
  
 ===== Note ===== ===== Note =====