Marc, your PATH is broken. It contains literally '~/bin' -- not
/home/duck/bin. That will cause the shell to look in
./~bin/ in the current directory, which could even be a security
risk. Just thought you should know that.
joey@gnu:~>PATH=~/bin:/usr/bin:/bin find ~/tmp/a -type f -execdir echo {} \;
./foo
joey@gnu:~>PATH='~/bin:/usr/bin:/bin' find ~/tmp/a -type f -execdir echo {} \;
find: The relative path `~/bin' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH
--
see shy jo
Attachment:
signature.asc
Description: Digital signature