Package: file
Version: 1:5.22+15-2
Severity: normal

Dear Maintainer,

even on fresh install, file returns O even if a file/directory (directory in my 
case) doesn't exist

steps to reproduce
 * cd /tmp
 * mkdir bob
 * file /tmp/bob; echo $?
 * file /tmp/bob2; echo $?
  => should see 
    /tmp/bob: directory
    0
    /tmp/bob2/ ERROR: cannont open `/tmp/bob2' (No such file or directory)
    0

On debian wheezy, it works as the man page says (file /tmp/bob2 => $? = 1)


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages file depends on:
ii  libc6      2.19-18
ii  libmagic1  1:5.22+15-2
ii  zlib1g     1:1.2.8.dfsg-2+b1

file recommends no packages.

file suggests no packages.

-- 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