[Info-vax] Request description of UFS for VMS person

AEF spamsink2001 at yahoo.com
Fri Apr 24 14:20:52 EDT 2009


On Apr 21, 9:35 am, billg... at cs.uofs.edu (Bill Gunshannon) wrote:
> In article <WglZZiqnW... at eisner.encompasserve.org>,
>         koeh... at eisner.nospam.encompasserve.org (Bob Koehler) writes:
>
> > In article <93dc1d2f-7186-461c-ba17-7791fb0e4... at h23g2000vbc.googlegroups.com>, AEF <spamsink2... at yahoo.com> writes:
>
> >> admin at aef-sol:$ ls -ld Documents
> >> drwxr-xr-x 7 admin staff 14 2009-03-27 19:17 Documents
> >> admin at aef-sol:$ cat Documents  od
> >> cat: Documents: Is a directory
> >> cat: od: No such file or directory
> >> admin at aef-sol:$ cat Documents | od
> >> cat: Documents: Is a directory
> >> 0000000
> >> admin at aef-sol:$
>
> >    So you've got a version of cat and a version of od that think they
> >    shouldn't be able to handle directories.  I'd try dd next,
>
> Current version of dd won't do it either.  Of course, you could grab the
> source to cat and write your own version that ignores it being a directory.
> Or just copy the stripped down version fromt he K&R C book.  :-)
>
> >                                                                but it's
> >    worth looking to see if this directory is on a UFS, NFS, or some
> >    other volume because it might be the file system forcing the error.
>
> I didn't look at the source, but I assume it is the utility.  Another case
> of protecting people from themselves a tthe expense of the people who really
> need the capability.

Well, couldn't they have made it work only for the super user, or
root, or whatever it's called? (Synonymous?)

> (Have you ever seen what "cating" binary data to a
> terminal can do?  :-)

bash-3.00$ ls -ld src
drwxr-xr-x   2 afeldman other        512 Sep 10  2007 src
bash-3.00$ cat src
cn
  .c[
     ..d4z.shq4gd2
                  x.cd3Hy.c<
                            .z.sh.Ioaq4gbash-3.00$ pwd
/export/home/afeldman
bash-3.00$

The world didn't come to an end. And I didn't even end up with a hung
terminal! Though I suppose in some cases it might.

>
> bill
>
> --
> Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
> billg... at cs.scranton.edu |  and a sheep voting on what's for dinner.
> University of Scranton   |
> Scranton, Pennsylvania   |         #include <std.disclaimer.h>  

AEF



More information about the Info-vax mailing list