URL:
  <http://savannah.gnu.org/bugs/?54171>

                 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

    _______________________________________________________

Details:

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
foo
find: ‘foo’: Permission denied





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54171>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to