View Issue Details

IDProjectCategoryView StatusLast Update
00015741003.1(2013)/Issue7+TC1System Interfacespublic2024-06-11 08:53
Reporteralanc Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted As Marked 
NameAlan Coopersmith
Organization
User Reference
Sectionunlinkat
Page Number(page or range of pages)
Line Number(Line or range of lines)
Interp Status---
Final Accepted Text0001574:0005815
Summary0001574: EPERM condition does not match unlinkat description
DescriptionThe combined unlink/unlinkat description states that unlinkat shall behave
the same as rmdir if AT_REMOVEDIR is specified, but the errors section lists
EPERM for both functions if a directory is specified.
Desired ActionIn the Errors list, under "These functions shall fail and shall not unlink the file if:" remove:

[EPERM]
    The file named by path is a directory, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


Add a new section under errors:

The unlink() function shall fail and shall not unlink the file if:

[EPERM]
    The file named by path is a directory, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


Add a new entry in the "The unlinkat() function shall fail if:"

[EPERM]
    The file named by path is a directory, the AT_REMOVEDIR flag was not
    set in the flag parameter, and either the calling process
    does not have appropriate privileges, or the implementation prohibits
    using unlink() on directories.


(Also, should that section say "shall fail and shall not unlink the file if"
 like the others here?)
Tagstc3-2008

Activities

geoffclare

2022-04-21 16:28

manager   bugnote:0005815

Make the changes in the desired action, including the final parenthetical part.

Issue History

Date Modified Username Field Change
2022-03-22 23:11 alanc New Issue
2022-03-22 23:11 alanc Name => Alan Coopersmith
2022-03-22 23:11 alanc Section => unlinkat
2022-03-22 23:11 alanc Page Number => (page or range of pages)
2022-03-22 23:11 alanc Line Number => (Line or range of lines)
2022-04-21 16:28 geoffclare Note Added: 0005815
2022-04-21 16:29 geoffclare Interp Status => ---
2022-04-21 16:29 geoffclare Final Accepted Text => 0001574:0005815
2022-04-21 16:29 geoffclare Status New => Resolved
2022-04-21 16:29 geoffclare Resolution Open => Accepted As Marked
2022-04-21 16:29 geoffclare Tag Attached: tc3-2008
2022-05-23 11:39 geoffclare Status Resolved => Applied
2024-06-11 08:53 agadmin Status Applied => Closed