A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1283 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1283 Category: System Interfaces Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Geoff Clare Organization: The Open Group User Reference: Section: chmod() Page Number: 665 Line Number: 22780 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-09-04 09:16 UTC Last Modified: 2019-09-05 01:48 UTC ====================================================================== Summary: should chmod() ignore file type bits in st_mode ======================================================================
---------------------------------------------------------------------- (0004550) shware_systems (reporter) - 2019-09-05 01:48 http://austingroupbugs.net/view.php?id=1283#c4550 ---------------------------------------------------------------------- Re: 4548 It is not that it has to be a short, just that what is designated for the type can fit in it and no more file types or mode bits will be added to break that possibility. I was thinking similarly to you, actually, that the intent was it might be extended, with each new file type being represented by its own bit (so testing for or excluding multiple types in one mask/compare was plausible) but this is not the case. Issue History Date Modified Username Field Change ====================================================================== 2019-09-04 09:16 geoffclare New Issue 2019-09-04 09:16 geoffclare Name => Geoff Clare 2019-09-04 09:16 geoffclare Organization => The Open Group 2019-09-04 09:16 geoffclare Section => chmod() 2019-09-04 09:16 geoffclare Page Number => 665 2019-09-04 09:16 geoffclare Line Number => 22780 2019-09-04 09:16 geoffclare Interp Status => --- 2019-09-04 17:10 shware_systems Note Added: 0004547 2019-09-04 22:40 kre Note Added: 0004548 2019-09-04 23:03 kre Note Added: 0004549 2019-09-05 01:48 shware_systems Note Added: 0004550 ======================================================================