home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.95 / text5711.txt < prev    next >
Encoding:
Text File  |  1996-03-31  |  2.6 KB  |  51 lines

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