home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.95 / text2042.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  2.5 KB  |  46 lines

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