Description of problem: When using -execdir option of find, it doesn't changes current working directory, but it should. URL contains more information and also a patch to fix the problem. Version-Release number of selected component (if applicable): 4.5.9-2.mga1
Keywords: (none) => PATCH, UPSTREAM
It got fixed with findutils-4.5.10, which is in Cauldron @ kharec Would it be easy to get 4.5.10 in Mga 1 ? (I saw your name in the changelog of this package and we don't have a maintainer for it ;) )
CC: (none) => cazzaniga.sandro, marja11
Pushed new release [1] to core/updates_testing with patch from upstream. Please test. [1] findutils-4.5.9-2.1.mga1
CC: (none) => jani.valimaaAssignee: bugsquad => qa-bugs
Using ... d=$(mktemp -d); mkdir -p $d/{foo,bar,baz}/bug; find $d -type d -name bug -print -execdir pwd \; bug confirmed present in the Core Release version, and fixed in the Core Updates Testing version. Testing complete on i586 for the srpm findutils-4.5.9-2.1.mga1.src.rpm
CC: (none) => davidwhodgins
x86_64 Before ------ # d=$(mktemp -d); mkdir -p $d/{foo,bar,baz}/bug; find $d -type d -name bug -print -execdir pwd \; /tmp/tmp.JcamGBSXP5/foo/bug /tmp/tmp.JcamGBSXP5/foo /tmp/tmp.JcamGBSXP5/baz/bug /tmp/tmp.JcamGBSXP5/foo /tmp/tmp.JcamGBSXP5/bar/bug /tmp/tmp.JcamGBSXP5/foo After ----- # d=$(mktemp -d); mkdir -p $d/{foo,bar,baz}/bug; find $d -type d -name bug -print -execdir pwd \; /tmp/tmp.ZsjdEAW7NS/foo/bug /tmp/tmp.ZsjdEAW7NS/foo /tmp/tmp.ZsjdEAW7NS/baz/bug /tmp/tmp.ZsjdEAW7NS/baz /tmp/tmp.ZsjdEAW7NS/bar/bug /tmp/tmp.ZsjdEAW7NS/bar # cut -d: -f1 < /etc/passwd | sort | xargs echo Returns expected output of list of user names. # d=$(mktemp -d); mkdir -p $d/{foo,bar,baz}/bug; oldfind $d -type d -name bug -print -execdir pwd \; /tmp/tmp.EdyyFjdEMx/foo/bug /tmp/tmp.EdyyFjdEMx/foo /tmp/tmp.EdyyFjdEMx/baz/bug /tmp/tmp.EdyyFjdEMx/baz /tmp/tmp.EdyyFjdEMx/bar/bug /tmp/tmp.EdyyFjdEMx/bar Bug confirmed and fixed. xargs tested too. Update validated. SRPM: findutils-4.5.9-2.1.mga1.src.rpm Advisory --------------------- When using -execdir option of find, it did't change current working directory. Further information is available at: http://savannah.gnu.org/bugs/?func=detailitem&item_id=29949 Mageia bug: https://bugs.mageia.org/show_bug.cgi?id=2427 --------------------- Could sysadmin please push from core/updates_testing to core/updates Thankyou!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Hardware: i586 => All
Update pushed.
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED