View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001939 | 1003.1(2024)/Issue8 | Shell and Utilities | public | 2025-08-14 22:29 | 2025-09-01 09:27 |
Reporter | steffen | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Enhancement Request |
Status | Resolved | Resolution | Accepted As Marked | ||
Name | steffen | ||||
Organization | |||||
User Reference | |||||
Section | find | ||||
Page Number | 2942 | ||||
Line Number | 98247-9 | ||||
Interp Status | --- | ||||
Final Accepted Text | 0001939:0007238 | ||||
Summary | 0001939: find: -perm: add / modifier | ||||
Description | GNU find, busybox find, FreeBSD find, they all support the (+ and) / modifier to the -perm primary, defined as "primary evaluates to true if any of the bits in the mode are set in the file’s mode bits". The implementation is easy (the "-" modifier is standardized in POSIX for long, and supported by all implementations), and it seems to be needed at times. | ||||
Desired Action | On page 2942, line 98247-9, change if onum is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all of the bits specified in onum are set. In both cases, the behavior is unspecified when onum exceeds 07777. to if onum is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all of the bits specified in onum are set; if it is prefixed with <slash>, the primary shall evaluate to true of any of the bits are set. In all three cases, the behavior is unspecified when onum exceeds 07777. | ||||
Tags | issue9 |
|
On page 2942, line 98242-3, changeOtherwise, if mode is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all the bits in the resulting template are set in the file permission bits. to Otherwise, if mode is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all the bits in the resulting template are set in the file permission bits; if it is prefixed by a <slash>, the primary shall evaluate to true if any of the bits are set. On page 2942, line 98247-9, change if onum is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all of the bits specified in onum are set. In both cases, the behavior is unspecified when onum exceeds 07777. to if onum is prefixed by a <hyphen-minus>, the primary shall evaluate as true if at least all of the bits specified in onum are set; if it is prefixed by a <slash>, the primary shall evaluate to true if any of the bits are set. In all three cases, the behavior is unspecified when onum exceeds 07777. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-08-14 22:29 | steffen | New Issue | |
2025-08-28 15:35 | geoffclare | Note Added: 0007238 | |
2025-08-28 15:36 | geoffclare | Status | New => Resolved |
2025-08-28 15:36 | geoffclare | Resolution | Open => Accepted As Marked |
2025-08-28 15:36 | geoffclare | Interp Status | => --- |
2025-08-28 15:36 | geoffclare | Final Accepted Text | => 0001939:0007238 |
2025-08-28 15:36 | geoffclare | Tag Attached: issue9 | |
2025-09-01 09:27 | geoffclare | Note Edited: 0007238 |