[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54171] find -depth skips unreadable directories

From: Tavian Barnes
Subject: [bug #54171] find -depth skips unreadable directories
Date: Sat, 23 Jun 2018 18:34:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0


                 Summary: find -depth skips unreadable directories
                 Project: findutils
            Submitted by: tavianator
            Submitted on: Sat 23 Jun 2018 10:34:28 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.0
           Fixed Release: None



If find doesn't have read permission for a directory, it skips it in -depth
mode, but not in normal mode:

$ mkdir foo
$ touch foo/bar
$ chmod -r foo
$ find foo -depth
find: ‘foo’: Permission denied
$ find foo
find: ‘foo’: Permission denied


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]