Retro68/hfsutils
2023-12-28 00:59:39 +01:00
..
.stamp add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
doc add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfsck add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
images add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
libhfs hfsutils: add missing includes 2023-12-28 00:59:39 +01:00
librsrc hfsutils: add missing includes 2023-12-28 00:59:39 +01:00
linux add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
test add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
acconfig.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
binhex.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
binhex.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
BLURB add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
CHANGES add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
charset.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
charset.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
config.h.in add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
configure add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
configure.in add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
copyin.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
copyin.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
COPYING add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
copyout.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
copyout.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
COPYRIGHT add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
crc.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
crc.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
CREDITS add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
darray.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
darray.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
dlist.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
dlist.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
dstring.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
dstring.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
glob.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
glob.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hattrib.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hattrib.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcd.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcd.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcopy.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcopy.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcwd.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hcwd.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hdel.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hdel.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hdisk.pl add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hformat.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hformat.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfs.tcl add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfssh.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfsutil.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfsutil.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hfswish.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hls.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hls.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hmkdir.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hmkdir.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hmount.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hmount.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hpwd.c deal with stricter default compile options for C 2021-02-06 15:23:15 +01:00
hpwd.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hrename.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hrename.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hrmdir.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hrmdir.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
humount.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
humount.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hvol.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
hvol.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
images.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
INSTALL add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
install-sh add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
Makefile.in fix out-of-source builds for hfsutils 2020-10-04 15:34:17 +02:00
README add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
strdup.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
strerror.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
strstr.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
strtol.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
suid.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
suid.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
tclhfs.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
tclhfs.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
TODO add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
version.c add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
version.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
xhfs.h add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00
xhfs.tcl add hfsutils 3.2.6 2012-03-29 10:28:43 +02:00

hfsutils - tools for reading and writing Macintosh HFS volumes
Copyright (C) 1996-1998 Robert Leslie

$Id: README,v 1.10 1998/09/08 18:51:51 rob Exp $

===============================================================================

NOTES ON THIS RELEASE

  This release uses GNU autoconf to automatically configure the software
  for installation and use on your system. This means you should not have
  to modify any files by hand to get the software to compile -- if you do,
  please let the author know so it can be fixed.

  For general installation instructions, please read the `INSTALL' file.

  There are a few special options you can give the `configure' program that
  you should know about:

      --with-tcl            build the Tcl/Tk components
      --with-tk             build the Tk-based X interface `xhfs'
      --disable-cli         do not build or install the command-line utils
      --enable-devlibs      enable installation of the developer libraries

  To build the Tcl tools `hfssh' and `hfs', you must use `--with-tcl'.
  To build the X interface `xhfs', you must use `--with-tcl --with-tk'.

  In order to build the Tcl tools you must have Tcl 7.6 or newer already
  installed on your system. To build the X interface, you must have Tk 4.2
  or newer installed as well.

  If `configure' is unable to locate your Tcl or Tk installation, you will
  have to give it a hint. It looks for the files `tclConfig.sh' and
  `tkConfig.sh' (respectively) which contain all the details about your
  configuration; these files were created when Tcl/Tk was installed on your
  system.

  To help `configure' find these files, you can specify a directory name on
  the command line. For example:

      ./configure --with-tcl=/usr/share/tcl --with-tk=/usr/share/tk

  When in doubt, wait and see if `configure' complains.

  By default, the command-line utilities (hmount, hls, hcopy, etc.) are
  always built and installed. If you don't want them, use `--disable-cli'.

  If you want to install the developer libraries (libhfs.a, librsrc.a, and
  associated header files) as well as the programs, use `--enable-devlibs'.
  The libraries are not installed by default.

  The `INSTALL' file contains the rest of the details you will need to
  compile and install the software. Please read it!

===============================================================================

NOTES ON "SETUID" INSTALLATION

  Although the author has made some effort to make the programs in this
  package somewhat setuid-safe, none are intended to be installed in such a
  manner, and you do so at your own risk!

  Specifically, installing the programs setuid root is a bad idea, as it will
  allow anyone to attempt to open (or format) any file as an HFS volume,
  disregarding the normal UNIX file permission checks.

  A better idea is to modify the permissions on the necessary device files to
  allow access to appropriate users. For example, if you make your floppy
  device group-writable to a special group of floppy users, then only those
  users will be able to access an inserted floppy disk and nothing needs to
  be made setuid.

  Here is an example:

   % ls -l /dev/fd0 /usr/local/bin/xhfs
   brw-rw----   1 root     floppy     2,   0 Sep 17 13:51 /dev/fd0
   -rwxr-xr-x   1 root     staff      339874 Jan 17 20:18 /usr/local/bin/xhfs

   % grep floppy /etc/group
   floppy:*:25:rob,thigpen

  This configuration permits users `rob' and `thigpen' read/write access to
  the floppy device, without needing to make any programs setuid.

  Another possibility is to make some of the programs in this package setgid
  (NOT setuid) to a similar group which has access to the necessary devices.
  This avoids the need to add specific users to a group, since it allows
  anyone to access the devices using the utilities, while still maintaining
  the integrity of the data on the devices since they are not world-writable.
  (A world-writable device lends itself to the possibility that someone may
  corrupt some portion of it by other means and render an HFS volume
  unusable, whereas limiting access only through the utilities means the
  volume is unlikely to be corrupted under normal usage -- although note that
  since HFS itself does not provide any file permission structure, anyone may
  still modify the HFS volume in any way. The only protection here is that
  the modifications must be made in an HFS-compatible way, so that the
  possibility of corruption is reduced.)

  Here is another example:

   % ls -l /dev/fd0 /usr/local/bin/xhfs
   brw-rw----   1 root     floppy     2,   0 Sep 17 13:51 /dev/fd0
   -rwxr-sr-x   1 root     floppy     339874 Jan 17 20:18 /usr/local/bin/xhfs

   % grep floppy /etc/group
   floppy:*:25:

  In this case, only setgid `floppy' programs (such as `/usr/local/bin/xhfs')
  are permitted access to the floppy device.

  To summarize: it is suggested that the utilities NOT be installed setuid or
  setgid. It is possible to install the utilities setgid as described above,
  but it is NOT recommended that the utilities be installed setuid root under
  any circumstances.

===============================================================================

CONTACTING THE AUTHOR

  Please see the `COPYRIGHT' file for copyright and warranty information.

  Send comments, bug reports, suggestions, patches, etc. to:

    * Robert Leslie <rob@mars.org>

  See also the HFS Utilities home page on the Web:

    * http://www.mars.org/home/rob/proj/hfs/

===============================================================================