[techtalk] Mounting CD's and Floppies/Using Control Panel
lf25+ at andrew.cmu.edu
Wed Dec 22 03:03:17 EST 1999
Excerpts from linuxchix: 21-Dec-99 Re: [techtalk] Mounting CD'.. by
GJS at yahoo.com
> The CD line in fstab is actually /dev/cdrom /mnt/cdrom
> iso9660 etc. I can only blame my bad typing and aging eyes.
It'd probably be easier and less error prone to cut and paste (do you
> Unfortunately, since I still can't figure out how to
> give my user account write privileges, I can look but not touch.
For ext2, just give it permissions the normal way, by chmoding the
files. (and make sure you/it has permissions on the /mnt/whatever dir,
For vfat/msdos, use either the uid or umask options. Since these
filesystems don't have permissions, these options tell mount what to set
will tell it to create files with permissions -rw-rw-rw-
tells it to create files with owner as my user, which happens to have a
uid of 1000. You'll have to use the numeric uids, it doesnt like
More details about this in the mount manpage in the section "Mount
options for fat".
> And a solution to part two of my problem (why I can't use the
> control panel tools even after I su from a command line in a
> Wterm) still eludes me.
(Are you starting the control panel tools from a menu in x or something
(ie. not by typing a command in the Wterm where you're root?)) Any
program started by another program (such as a shell) is usually run as
the same user as the parent program. So you start X as your user, which
starts the windowmanager as your user, then when you, for example, click
on the control panel, it starts the control panel as your user. The su
command doesn't turn you into root, it just starts a new shell where you
are root (su stands for SuperUser (or maybe SUperuser), not Switch
User). So, try typing printtool or whatever in your su'ed wterm.
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk