Package: bash
Version: 4.3-7
Severity: normal

Dear Maintainer,

I have a script in /usr/local/sbin using /bin/bash to create directories and files.

In this script, I'm using the touch, chown, and chmod commands. They all fail with for example 'mkdir: No such file or directory'. All these commands work in a terminal, however. The only fix for this problem is to include the full path to the executable like /bin/touch, /bin/chmod, and /bin/chown. I've echo the value of $PATH at the beginning of my script, the value is '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'.

Thank you


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files   7.5
ii  dash         0.5.7-4
ii  debianutils  4.4
ii  libc6        2.19-7
ii  libtinfo5    5.9+20140712-2

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to