[bug #58654] -perm -+w does not behave like chmod (POSIX)

2020-06-25 Thread Andreas Metzler
Follow-up Comment #2, bug #58654 (project findutils): [comment #0 Mohamed Akram:] [...] > Per POSIX, find should find file because it satisfies +w given the current umask. The umask should only be ignored if u/g/o are specified or if = is used. This is the same behavior as chmod. GNU find seems to

[bug #58654] -perm -+w does not behave like chmod (POSIX)

2020-06-25 Thread Mohamed Akram
Follow-up Comment #1, bug #58654 (project findutils): There is also a difference when = is used without u/g/o. On macOS: $ chmod =w file $ find file -perm =w file On Fedora: $ chmod =w file $ find file -perm =w ___ Reply to this item at

[bug #58654] -perm -+w does not behave like chmod (POSIX)

2020-06-25 Thread Mohamed Akram
URL: Summary: -perm -+w does not behave like chmod (POSIX) Project: findutils Submitted by: mohdakram Submitted on: Thu 25 Jun 2020 08:48:15 PM UTC Category: None Seve