The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1392 
====================================================================== 
Reported By:                mohd_akram
Assigned To:                
====================================================================== 
Project:                    1003.1(2016)/Issue7+TC2
Issue ID:                   1392
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Mohamed Akram 
Organization:                
User Reference:              
Section:                    find 
Page Number:                2797 
Line Number:                91951-91956 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2020-08-14 12:55 UTC
Last Modified:              2020-08-14 12:55 UTC
====================================================================== 
Summary:                    find(1): clarify whether -perm ops - and + should
follow chmod
Description: 
Currently, BSD/macOS find(1) behave like chmod when it comes to the - and +
operators of -perm:

$ umask
0022
$ touch file
$ chmod +w file
$ find file -perm -+w
file

GNU find behaves differently (https://savannah.gnu.org/bugs/?58654):

$ umask
0002
$ touch file
$ chmod +w
$ find file -perm -+w

GNU find treats = and + as equivalent, while BSD find doesn't (which is IMO
more useful).
Desired Action: 
Clarify the behavior of find(1) -perm with respect to the - and +
operators.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2020-08-14 12:55 mohd_akram     New Issue                                    
2020-08-14 12:55 mohd_akram     Name                      => Mohamed Akram   
2020-08-14 12:55 mohd_akram     Section                   => find            
2020-08-14 12:55 mohd_akram     Page Number               => 2797            
2020-08-14 12:55 mohd_akram     Line Number               => 91951-91956     
======================================================================


  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Geoff Clare via austin-group-l at The Open Group
          • ... Joerg Schilling via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to