Anonymous | Login | 2024-03-29 08:38 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000838 | [1003.1(2013)/Issue7+TC1] System Interfaces | Editorial | Clarification Requested | 2014-04-28 01:04 | 2019-06-10 08:54 | ||
Reporter | mdempsky | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Matthew Dempsky | ||||||
Organization | OpenBSD | ||||||
User Reference | |||||||
Section | access | ||||||
Page Number | http://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html [^] | ||||||
Line Number | |||||||
Interp Status | Approved | ||||||
Final Accepted Text | Note: 0002247 | ||||||
Summary | 0000838: Unclear wording about how real IDs are used | ||||||
Description |
POSIX says "The access() function shall check the file named by the pathname pointed to by the path argument for accessibility according to the bit pattern contained in amode, using the real user ID in place of the effective user ID and the real group ID in place of the effective group ID." This wording seems somewhat ambiguous to me whether the real user/group IDs are also used to resolve the pathname (i.e., check directory search permissions), or only to access check the file it names. E.g., arguably the spec is saying to access check the **file** according to amode and the real IDs, and the prepositional phrase "named by the pathname pointed to by the path argument" is just specifying which file is checked this way. Linux, FreeBSD, and NetBSD use the real IDs for both resolving the path and access checking the file mode. OpenBSD currently uses the effective IDs for resolving the path and then the real IDs only for access checking the file mode, but this will likely change in the next release. |
||||||
Desired Action |
Change , using the real user ID in place of the effective user ID and the real group ID in place of the effective group ID. to . The checks for accessibility (including path resolution) are performed using the real user ID in place of the effective user ID and the real group ID in place of the effective group ID. Also, perhaps add the same parenthetical remark to the text describing AT_EACCESS later in the same section. |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-28 01:04 | mdempsky | New Issue | |
2014-04-28 01:04 | mdempsky | Name | => Matthew Dempsky |
2014-04-28 01:04 | mdempsky | Organization | => OpenBSD |
2014-04-28 01:04 | mdempsky | Section | => access |
2014-04-28 01:04 | mdempsky | Page Number | => http://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html [^] |
2014-04-28 10:02 | geoffclare | Note Added: 0002236 | |
2014-05-09 14:54 | geoffclare | Note Added: 0002247 | |
2014-05-09 14:58 | geoffclare | Note Edited: 0002247 | |
2014-05-09 15:01 | geoffclare | Note View State: public: 2247 | |
2014-05-22 15:07 | geoffclare | Note Edited: 0002247 | |
2014-05-22 15:09 | geoffclare | Interp Status | => Pending |
2014-05-22 15:09 | geoffclare | Final Accepted Text | => Note: 0002247 |
2014-05-22 15:09 | geoffclare | Status | New => Interpretation Required |
2014-05-22 15:09 | geoffclare | Resolution | Open => Accepted As Marked |
2014-05-22 15:09 | geoffclare | Tag Attached: tc2-2008 | |
2014-05-23 13:19 | ajosey | Interp Status | Pending => Proposed |
2014-05-23 13:19 | ajosey | Note Added: 0002252 | |
2014-06-25 10:13 | ajosey | Interp Status | Proposed => Approved |
2014-06-25 10:13 | ajosey | Note Added: 0002277 | |
2019-06-10 08:54 | agadmin | Status | Interpretation Required => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |