Re: Why file content sniffing sucks

On Sat, 2003-12-27 at 05:57, iain wrote:

> What happens if README has its executable bit set.

Then display it as an executable.  Someone went to the trouble of
setting that bit, so it should be respected.

> Or wine doesn't have its executable bit set for my user?

Then display it as an executable, but with a special icon that says you
can't execute it.  Similar to the read-only icon.

> Or what happens if wine was simply a list of wines I wanted to buy for
> the new years party, and actually has mimetype text/plain?

In that case, when we don't have any other information about the file
(no suffix, no executable bit, isn't a "special" filename like README),
detection by content is appropriate.

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]