bugfindutils - Bugs: bug #50758, Incorrect example in find.info...


bug #50758: Incorrect example in find.info docs for '-perm'

Submitted by:  None
Submitted on:  Sat 08 Apr 2017 10:04:59 AM UTC  
Category:  documentation Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bernhard Voelker <berny>
Originator Name:  Jacob Nevins Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.6.0
Fixed Release:  4.7.0

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 02 May 2017 06:18:56 AM UTC, comment #2: 
Bernhard Voelker <berny>
Project AdministratorIn charge of this item.
Thu 13 Apr 2017 06:49:43 AM UTC, comment #1: 

Thanks for the report and the patch.
While your fix is correct, I'd prefer to fix the description
rather than the permission mode, because searching for files
with too wide permissions (022) is a more common use case
than searching for files which are writable by the file's
user and group.

Patch attached.

Have a nice day,

(file #40385)

Bernhard Voelker <berny>
Project AdministratorIn charge of this item.
Sat 08 Apr 2017 10:04:59 AM UTC, original submission:  

An example in find.info says

'-perm /022'
     Match files that are writable by either their owner or their
     group.  The files don't have to be writable by both the owner
     and group to be matched; either will do.

I think this is wrong; to match the text, I think the option would have to be '-perm /220'. Other examples nearby are similar. Patch attached.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #40385:  0001-doc-fix-some-perm-examples-in-find.info.patch added by berny (3KiB - text/x-patch - [PATCH] doc: fix some -perm examples in find.info)
file #40328:  perm-example.patch added by None (717B - text/x-patch - Patch against git 11a050cdb)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)
  • -email is unavailable- added by berny (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-29 jay Open/ClosedOpen => Closed
    2019-08-29 berny Fixed ReleaseNone => 4.7.0
    2017-05-02 berny StatusIn Progress => Fixed
    2017-04-13 berny Attached File- => Added 0001-doc-fix-some-perm-examples-in-find.info.patch, #40385
        Severity3 - Normal => 2 - Minor
        StatusNone => In Progress
        Assigned toNone => berny
        ReleaseNone => 4.6.0
    2017-04-08 None Attached File- => Added perm-example.patch, #40328

    Back to the top

    Powered by Savane 3.5