The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] success, bj assembled and linked in Unix v5
@ 2015-06-12 20:33 Mark Longridge
  2015-06-12 20:57 ` cowan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mark Longridge @ 2015-06-12 20:33 UTC (permalink / raw)


OK, success...

in Unix v5:

as bj.s etc.s us.s
ld a.out -lc
mv a.out bj
chmod 0744 bj

It seems to work OK now. Probably should work on v6 and v7 as well.

Mark



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [TUHS] success, bj assembled and linked in Unix v5
@ 2015-06-12 20:51 Noel Chiappa
  0 siblings, 0 replies; 9+ messages in thread
From: Noel Chiappa @ 2015-06-12 20:51 UTC (permalink / raw)


    > From: Mark Longridge <cubexyz at gmail.com>

    > OK, success...

Yeah, I just got there too, but by a slightly longer route!

(Google wasn't turning up the matches for the routines I needed, which you
found in etc.s, etc - it seems the source archive on Minnie isn't being
indexed by Google. So I wound up cobbling them together with a mix of stuff
from other places, along with stuff I wrote/modified.)

    > Probably should work on v6 and v7 as well.

Does on V6, dunno about V7.

    > It seems to work OK now.

Yes, but this is _not_ the source for the V5/V6 'bj'. (I just checked,
and the V5 and V6 binaries are identical.)

Right at the moment, I've used enough time on this - I may get back to
it later, and disassemble the V5/V6 binary and see what the original
source looks like.

	Noel



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [TUHS] success, bj assembled and linked in Unix v5
@ 2015-06-14  1:08 Norman Wilson
  2015-06-14  1:41 ` John Cowan
  0 siblings, 1 reply; 9+ messages in thread
From: Norman Wilson @ 2015-06-14  1:08 UTC (permalink / raw)


Mark Longridge:

  chmod 0744 bj

Dave Horsfall:

  That has to be the world's oddest "chmod" command.

======

Not by a long shot.

Recently, for reasons related both to NFS permissions and to
hardware testing, I have occasionally been making directories
with mode 753.

At the place I worked 20 years ago, we wanted a directory
into which anonymous ftp could write, so that people could
send us files; but we didn't want it to become a place for
creeps to stash their creepy files.  I thought about the
problem briefly, then made the directory with mode 0270,
owned by the user used for anonymous ftp and by a group
containing all the staff members allowed to receive files
that way.  That way creeps could deposit files but couldn't
see what was there.

I also told cron to run every ten minutes, changing the
permissions of any file in that directory to 0060.

Oh, and I had already maniacally (and paranoiacally)
excised from ftpd the code allowing ftp to change permissions.

I admit I can't think of a reason to use 744 offhand, since
if you can read the file you can copy it and make the copy
executable.  But UNIX permissions can be used in so many
interesting ways that I'm not willing to claim there is no
such reason just because I can't see what it is.

Norman Wilson
Toronto ON



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-06-14  2:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 20:33 [TUHS] success, bj assembled and linked in Unix v5 Mark Longridge
2015-06-12 20:57 ` cowan
2015-06-12 21:01 ` Ronald Natalie
2015-06-12 22:23   ` Mark Longridge
2015-06-13 17:48 ` Dave Horsfall
2015-06-12 20:51 Noel Chiappa
2015-06-14  1:08 Norman Wilson
2015-06-14  1:41 ` John Cowan
2015-06-14  2:50   ` random832

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).