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