Skip to content

Fix /usr/spool/bitspool group ownership and permissions #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ Tue Oct 12 10:27:08 1993 Matti Aarnio ([email protected])

* Implemented dual spool system: (configurable)
/usr/spool/bitnet/LINKNAME/ - for transmission links
/usr/spool/bitspool/USERNAME/ - for local users
/var/spool/bitspool/USERNAME/ - for local users

* Wrote UNIX man-pages of the system

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ install:
mkdir -p /var/spool/bitnet
chgrp ${NJEGRP} /var/spool/bitnet
chmod g+w /var/spool/bitnet
mkdir -p /var/spool/bitspool
chgrp ${NJEGRP} /var/spool/bitspool
chmod g=rx,o-rwx /var/spool/bitspool
chmod g+s ${BINDIR}/sendfile ${BINDIR}/tell ${BINDIR}/ygone \
${LIBDIR}/bmail
$(INSTALL) -s -m 755 transfer ${LIBDIR}/transfer
Expand Down
2 changes: 1 addition & 1 deletion README.INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ In detach.c:
inheritance)

Decide where you put your user spool directories, exaple:
/usr/spool/bitspool
/var/spool/bitspool
However HAVE THEM ON SAME PHYSICAL DEVICE so that rename(2)
(or rename(3)) can be used successfully to place files into
there. Directory can have protection 111, or 555. Nobody
Expand Down
4 changes: 2 additions & 2 deletions file-exit.cf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# Exit users: POSTMAST (exits start as root anyway.)
# Exited reals: real protections, programs start with setuid() user.

Spool-Dir: /usr/spool/bitspool/
Postmast-Dir: /usr/spool/bitspool/POSTMAST
Spool-Dir: /var/spool/bitspool/
Postmast-Dir: /var/spool/bitspool/POSTMAST

# Now list of things to match and then what to do
# To do keywords: DISCARD to /dev/null.
Expand Down
8 changes: 4 additions & 4 deletions funetnje.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ Such wrapping is not allowed in the real configuration file!
# Exited reals: real protections, programs start with setuid()
# user.

Spool-Dir: /usr/spool/bitspool/
Postmast-Dir: /usr/spool/bitspool/POSTMAST
Spool-Dir: /var/spool/bitspool/
Postmast-Dir: /var/spool/bitspool/POSTMAST

# Now list of things to match and then what to do
# To do keywords: DISCARD to /dev/null.
Expand Down Expand Up @@ -988,7 +988,7 @@ communication with the BITNET.
Shows a listing of user's BITNET spool -- the `reader'.
@example
@cartouche
QRDR: Spool dir: `/usr/spool/bitspool/MEA/'
QRDR: Spool dir: `/var/spool/bitspool/MEA/'
From: To: FName: FExt: Type Form: SpoolID
NETSERV@@FINHUT MEA@@FINFILES NETSERV NOTE PUN A QUFINHUT 0001
NETSERV@@FINHUT MEA@@FINFILES NETSERV NOTE PUN A QUFINHUT 0002
Expand Down Expand Up @@ -1016,7 +1016,7 @@ consulted with effective uid.
Spool directory is determined using same mechanism as in @emph{funetnje}
main program.
Sample configuration of file procesing exits gives directory
@file{/usr/spool/bitspool} in which UPPERCASE userids
@file{/var/spool/bitspool} in which UPPERCASE userids
(or pseudoids - MAILER is one such) are `user' specific
subdirectories containing individual spooled files.

Expand Down
6 changes: 3 additions & 3 deletions man/funetnje.8
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ Sample
\f4# Exit users: POSTMAST (exits start as root anyway.)
\f4# Exited reals: real protections, programs start with setuid() user.
\f4
\f4Spool-Dir: /usr/spool/bitspool/
\f4Postmast-Dir: /usr/spool/bitspool/POSTMAST
\f4Spool-Dir: /var/spool/bitspool/
\f4Postmast-Dir: /var/spool/bitspool/POSTMAST
\f4
\f4# Now list of things to match and then what to do
\f4# To do keywords: DISCARD to /dev/null.
Expand Down Expand Up @@ -352,7 +352,7 @@ binary format. Transporter internal usage.
Recipient spool directories have also these
.B .spoolid
files, and their function is similar; keep status log.
.IP "\fB/usr/spool/bitspool/\fR" 1.0i 0
.IP "\fB/var/spool/bitspool/\fR" 1.0i 0
Configured (via exit files)
.SM `Spool-Dir:'
under which local recipients will get their own subdirectories..
Expand Down
Binary file modified man/funetnje.8.ps
Binary file not shown.
4 changes: 2 additions & 2 deletions man/qrdr.8
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ effective uid.
Spool directory is determined using same mechanism as in
.I funetnje
main program. Sample configuration of file procesing exits gives directory
.RI ` /usr/spool/bitspool '
.RI ` /var/spool/bitspool '
in which UPPERCASE userids (or pseudoids - MAILER is one such) are `user'
specific subdirectories containing individual spooled files.
.LP
Expand All @@ -72,7 +72,7 @@ output for user
.LP
.nf
.fz 4 -2
\f4QRDR: Spool dir: `/usr/spool/bitspool/MEA/'
\f4QRDR: Spool dir: `/var/spool/bitspool/MEA/'
\f4From: To: FName: FExt: Type Form: SpoolID
\f4NETSERV@FINHUT MEA@FINFILES NETSERV NOTE PUN A QUFINHUT 0002
\f4NETSERV@FINHUT MEA@FINFILES NETSERV NOTE PUN A QUFINHUT 0004
Expand Down
Binary file modified man/qrdr.8.ps
Binary file not shown.