help-hurd
[Top][All Lists]
Advanced

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

Re: nodes have authors


From: Alfred M. Szmidt
Subject: Re: nodes have authors
Date: Tue, 12 Feb 2002 16:30:36 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2.50

* Thomas Bushnell, BSG writes:
> James Morrison <rocketmail_com@rocketmail.com> writes:
>> Taking a brief look at fth.defth it looks like each node can have
>> an author, do any tools currently support getting/setting this
>> value?

> I don't think so.  We need a chauthor program for GNU fileutils.

Funny that you should mention that.

I am currently working on adding some support for the flags that we support.
Already added this support to ls:
  - Print the "unknown permission bits" (what is the official name for this?).
  - Print the author stuff (the option -E/--author will enable this)
  - Show if an translator is attached to an inode, I don't know if I should
    keep this.

And I am working on setting the permission bits with chown, and changing the
author bit with chown (chown owner:group:author?), and will probably implement
the chauth (I think thats a better name then chauthor) program.

And when I am done with that, I will move to fix GNU sh-utils (id,
and all that).

The current output for `ls -lE' on a normal file looks something like this:
-rw-r--r--r--    1 ams      users    ams           157 Feb 10 21:35 stat.c

If the there is an passive translator it would look like the following:
trw-r--r--r--    1 ams      users    ams           157 Feb 10 21:35 foobar

I was thinking on maybe removing all the "normal" UNIX file modes and only have
ones for active/passive translators, and showing output similar to when
you have a symlink (this will only work for passive translators):
trw-rw-rw-rw-    1 root     root     root       0,   0 Dec 27 22:25 /dev/null 
=> /hurd/null

Note, I used => instead of the normal -> to show that it is really different.

Any opinions about this? Anything that was I forgot to add? :-)

-- 
Alfred M. Szmidt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]