﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
904	"tahoe ls -l: show ""i""/""m"" instead of useless ""x"""	warner		"In our CLI directory listing, we make it vaguely look like regular unix ls by
putting some pseudo-mode-bits on the left hand side:

{{{
% ./bin/tahoe ls -l testgrid:RSA
-r-- 6881 Jan 14 16:14 outline.org
drwx    - Jan 14 16:45       zooko
}}}

This is meant to tell you that {{{outline.org}}} is either immutable, or
mutable and you only have a readcap. And also that {{{zooko}}} is a
directory, and mutable, *and* you have a writecap.

But that leftover ""x"" is just taking up space. Tahoe has no concept of
""execution"", and certainly not a directory that you can read but not enter or
list.

So I'll propose that we get rid of the ""x"", and use that column instead to
indicate the mutability or immutability of the object in question. Then files
will always be one of {{{-r-i}}} or {{{-r-m}}} or {{{-rwm}}}, and directories
will be one of {{{dr-i}}}, {{{dr-m}}}, {{{drwm}}}.

It might be nice to provide a hint about the enclosing directory: a
{{{-r-i}}} file inside a writeable mutable directory can still be replaced,
even though it can't be modified in-place. But a {{{-r-i}}} file inside an
unwriteable directory can't be replaced. I can't think of a good way to
express these, though.. maybe a fifth column that indicates replaceability,
relative to the directory that you passed as an argument?
"	enhancement	new	minor	eventually	code-frontend-cli	1.5.0		usability		
