RFC: New section for the Unix Basics chapter.

Simon L. Nielsen simon at nitro.dk
Thu Jun 19 21:54:00 UTC 2003


On 2003.06.19 17:30:38 -0400, Tom Rhodes wrote:
> On Thu, 19 Jun 2003 23:38:58 +0200
> "Simon L. Nielsen" <simon at nitro.dk> wrote:
> 
> > On 2003.06.19 14:44:21 -0400, Tom Rhodes wrote:
> > 
> > [CUT]
> > > +    <para>These values are used with the <command>chmod</command> command
> > > +      just like before, but with letters.  For an example, you could use
> > > +      the following command to block other users from accessing the files
> > > +      in your home directory:</para>
> > > +
> > > +    <screen>&prompt.user;<userinput>chmod go= *</userinput></screen>
> > 
> > I think this is a bad example since it really doesn't prevent others
> > from reading e.g. dotfiles and the directory content. This section is
> > targeting newbies I think it's better not to let them think they can
> > "secure" a directory this way.  I think a simple example with some
> > random file would be fine - like the next example.
> 
> Have a better one I could use?

Just something simple like :

<para>These values are used with the <command>chmod</command> command
  just like before, but with letters.  For an example, you could use
  the following command to block other users from accessing <replaceable>FILE</replaceable>:

<screen>&prompt.user;<userinput>chmod go= <replaceable>FILE</replaceable></userinput></screen>

Or something along those lines.

> > > +    <para>A comma separated list can be provided when more than one set
> > > +      of changes to a file must be made.  For example the following command
> > > +      will remove the groups and <quote>world</quote> write permission
> > 
> > When referencing world here (which I think is OK) I think "(World)" or
> > something like that should be added group option in the table.
> 
> At the time of writing, I couldn't think of a way to phrase it.  Help
> on this would be great!

I think it would be fine if you changed the "All" description in the
table to something like :

  <row>
    <entry>(who)</entry>
    <entry>a</entry>
    <entry>All (<quote>World</quote>)</entry>
  </row>

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030619/ddc41396/attachment.sig>


More information about the freebsd-doc mailing list