Austin Group Defect Tracker

Aardvark Mark IV

Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001729 [1003.1(2016/18)/Issue7+TC2] System Interfaces Objection Clarification Requested 2023-05-18 09:30 2024-06-11 09:07
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Closed  
Name Geoff Clare
Organization The Open Group
User Reference
Section mkdir()
Page Number 1317
Line Number 43825-6
Interp Status ---
Final Accepted Text
Summary 0001729: mkdir() ENOENT and ENOTDIR overlap
Description For a call such as:
mkdir("regular_file/foo", mode)
the descriptions of ENOENT and ENOTDIR on the mkdir() page both apply:
A component of the path prefix specified by path does not name an existing directory ...
A component of the path prefix names an existing file that is neither a directory nor a symbolic link to a directory.
For other file creation functions, e.g. open(), mkfifo(), and fopen(), ENOENT uses "existing file" instead of "existing directory", avoiding this problem.

Also, strictly speaking path does not specify a path prefix (it specifies a complete pathname). Again, other pages don't have this problem, as they refer to "the path prefix of path".
Desired Action Change:
A component of the path prefix specified by path does not name an existing directory
A component of the path prefix of path does not name an existing file

Tags applied_after_i8d3, tc3-2008
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2023-05-18 09:30 geoffclare New Issue
2023-05-18 09:30 geoffclare Name => Geoff Clare
2023-05-18 09:30 geoffclare Organization => The Open Group
2023-05-18 09:30 geoffclare Section => mkdir()
2023-05-18 09:30 geoffclare Page Number => 1317
2023-05-18 09:30 geoffclare Line Number => 43825-6
2023-05-18 09:30 geoffclare Interp Status => ---
2023-07-31 15:46 Don Cragun Status New => Resolved
2023-07-31 15:46 Don Cragun Resolution Open => Accepted
2023-07-31 15:46 Don Cragun Tag Attached: tc3-2008
2023-08-17 10:58 geoffclare Status Resolved => Applied
2023-08-17 10:58 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:07 agadmin Status Applied => Closed

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker