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

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