home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.95 / text5705.txt < prev    next >
Encoding:
Internet Message Format  |  1996-03-31  |  3.4 KB

  1. Received: from osiris.ac.hmc.edu (Osiris.AC.HMC.Edu [134.173.32.20]) by nacm.com (8.6.10/8.6.9) with ESMTP id QAA17781 for <executor@nacm.com>; Fri, 20 Oct 1995 16:59:38 -0700
  2. Received: (from teverett@localhost) by osiris.ac.hmc.edu (8.6.12/8.6.12) id QAA03214; Fri, 20 Oct 1995 16:56:09 -0700
  3. From: Tobermory Everett <teverett@osiris.ac.hmc.edu>
  4. Message-Id: <199510202356.QAA03214@osiris.ac.hmc.edu>
  5. Subject: Re: Executor and Linux permissions
  6. To: scotts@randd.empi.com (Scott Stevens)
  7. Date: Fri, 20 Oct 1995 16:56:09 -0700 (PDT)
  8. Cc: executor@nacm.com
  9. In-Reply-To: <31958C2F01570200@c2smtp.empi.com> from "Scott Stevens" at Oct 20, 95 04:45:00 pm
  10. Reply-To: Tobermory_Everett@hmc.edu
  11. X-Mailer: ELM [version 2.4 PL22]
  12. MIME-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 2526      
  16. Sender: owner-paper@nacm.com
  17. Precedence: bulk
  18.  
  19. Scott Stevens wrote:
  20. > I have noticed a 'problem' that I experience while running Executor 1.99p 
  21. > under my Linux OS, which is that the floppy and CD-ROM seeks on startup do 
  22. > not occur if I run Executor under my 'scott' user account.  The only times 
  23. > when the floppy and CDROM are mounted properly is when I run Executor under 
  24. > the 'root' account.  Is this more a problem of setting file permissions 
  25. > properly under Linux than an issue with Executor itself?  Anybody have a 
  26. > suggested fix for me?  I'd prefer to not have to always run Executor under a 
  27. > 'root' login as that could be rather dangerous to my Filesystem.
  28. I don't have any Mac formatted floppies or CDs lying around, but I think I
  29. can solve your problem.  I'm willing to bet that when you login as scott you
  30. can't mount /dev/fd0 without su'ing to root.  The reason is that only root
  31. can mount devices.  However, there is a handy workaround.  In your
  32. /etc/fstab file put the following lines:
  33.  
  34. /dev/fd0        /mnt/a          msdos   user,noauto     0       0
  35. /dev/scd0       /mnt/cdrom      iso9660 user,noauto,ro  0       0
  36.  
  37. The /mnt/a and /mnt/cdrom can be changed to wherever you normally mount
  38. floppies and CDs.  The user option allows any user to mount the device and
  39. will mount it as "rwxr-xr-x" with the user set to the user that issued the
  40. mount command.  The noauto option prevents it from mounting at boot time,
  41. and the ro option for the cdrom takes care of the fact that CDs are
  42. read-only.
  43.  
  44. > On a slightly related note, when I move Macintosh files with spaces in the 
  45. > filenames out onto Executor, or even DOS partitions that I have mounted 
  46. > under Linux, Executor doesn't remap or replace the spaces in the filenames 
  47. > with anything.  I have workarounds under both operating systems to rename 
  48. > the files/directories (namely 'midnight commander' under Linux and Norton 
  49. > Utilities under DOS), but it seems like the kind of thing that could freak 
  50. > out the typical user who wouldn't be able to do a thing at all with the 
  51. > file/directory names with spaces in them, even delete them.  Is there a 
  52. > mechanism that I don't have turned on to prevent these writes or to remap 
  53. > the names by filling the spaces with a 'safe' character?
  54. Don't know what to do about DOS, but under Linux (at least tcsh) you can
  55. specify files with spaces in them like this:
  56.  
  57. mv This\ File\ Has\ 6\ Spaces\ In\ It This_File_Has_0_Spaces_In_It
  58.  
  59. The \ followed by a space gets treated as a "non-breaking" space by the
  60. command line interpreter.
  61.  
  62. --Toby Everett
  63.  
  64.