[bug #44078] Find fails if executed from a directory on which the user has no list permissions and exec is an option used

2015-04-03 Thread Dale Worley
Follow-up Comment #5, bug #44078 (project findutils): If I follow this formula, I get the expected results in both instances. This is with version 4.5.11 on Fedora 19. $ mkdir /tmp/bug $ chmod a-r /tmp/bug $ cd /tmp/bug $ find /tmp $ find /tmp -exec echo '{}' ';' Can you try this method, so as

[bug #44078] Find fails if executed from a directory on which the user has no list permissions and exec is an option used

2015-04-03 Thread Paul
Follow-up Comment #4, bug #44078 (project findutils): Sorry forget used environments on which reproduced: - Up to date Arch Linux: find 4.4.2, sudo 1.8.13 - Up to date Ubuntu 14.04: find 4.4.2, sudo 1.8.9p5 ___ Reply to this item at:

[bug #44078] Find fails if executed from a directory on which the user has no list permissions and exec is an option used

2015-04-03 Thread Paul
Follow-up Comment #3, bug #44078 (project findutils): To reproduce this: - Change to a directory where ${USER} in the following commands has no rights to read. - sudo -u "${USER}" find /tmp # Works as expected. - sudo -u "${USER}" find /tmp -exec echo '{}' ';' # Does not. Same with -execdir (test