Package: mime-support
Version: 3.52-1
Severity: normal

When I run `see' on a file, I get `Error: no read permission for file "XXX"',
although the file is perfectly readable.

This happens for example when the file in question is located in a directory
mounted by sshfs. Permissions reported by stat(2) on such files usually follow
the remote server, which does not necessarily make any sense when interpreted
locally.

But this is exactly what `see' does: it stats the filesystem permissions and
and dies when it guesses that the file looks unreadable. This can fail under
lots of circumstances: not only sshfs, but also permissions granted by an ACL.

I recommended removing the check altogether or at least replacing it by
trying to open the file.

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

Kernel: Linux 3.2.2-kamdesktop (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii  file  5.11-2

mime-support suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to