Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87832 - Various problems with removable media mounted by Gnome Volume Manager
Summary: Various problems with removable media mounted by Gnome Volume Manager
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 13:16 UTC by Rodney Brown
Modified: 2005-04-04 04:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodney Brown 2005-04-03 13:16:45 UTC
I am having two problems with removable media mounted by gnome volume manager.

Problem #1:  I have a usb 3.5" enclosure that I have a hard drive in.  Gnome Volume Manager mounts the device and non-root users can mount it too.  However, non-root users can't write to it or create new files/directories on it.  If I (as root) grant rights to a file on the drive, then the user account can modify that file, but the user account can't create new files.  The drive is reiserfs formatted...

Here is the fstab entry for that drive:
/dev/sdc1               /media/usbdisk          reiserfs user,exec,noauto,managed 0 0

-----------------------------------------------------------------------------

Problem #2:  When inserting a fat32 removable device (flash/thumb drives...) the fstab entry that is created has "iocharset=utf8" in the settings.

Here is it's fstab entry:

/dev/sdd                /media/usbdisk1         vfat    user,exec,noauto,iocharset=utf8,noatime,sync,managed 0 0

The drive will not mount with the "iocharset=utf8" entry.  I get the following error:

mount: wrong fs type, bad option, bad superblock on /dev/sdd,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

If you edit it's fstab entry and remove "iocharset=utf8", the drive mounts just fine and non-root users and mount AND use the device.

Reproducible: Always
Steps to Reproduce:
1.Attach a removable USB storage device
2.
3.

Actual Results:  
Problem #1:  Non-root users CAN mount the drive, but CANNOT write to the drive
or create new files directories.

Problem #2:  Flash/thumb drives cannot be mounted until the auto-generated fstab
entry is edited to remove the "iocharset=utf8" statement.

Expected Results:  
Problem #1:  An auto-mounted drive that non-root users can write to and create
files on.

Problem #2:  An auto-mounted flash/thumb drive, without having to remove
settings put in by gnome volume manager.

Here's my emerge info:

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 19:09:59)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://stargate/gentoo-portage"
USE="x86 S3TC X adns alsa apm avi berkdb bitmap-fonts bonobo cdparanoia cdr
crypt cups curl divx4linux dv dvb dvd dvdr dvdread editor emboss encode esd fam
fbcon flac font-server foomaticdb fortran gdbm gif glut gnome gnomedb gpm
gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib inifile ipv6 jabber java
jpeg junit ldap libg++ libgda libwww mad maildir mikmod mmx mmx2 mmxext mono
motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg msn mysql ncurses
network nls nptl nptlonly nvidia ofx oggvorbis opengl oscar oss pam pdflib perl
png python quicktime quotes readline real ruby scanner sdl slang spell sqlite
sse sse2 ssl stroke svga tcltk tcpd theora tiff transcode truetype
truetype-fonts type1-fonts usb wxwindows xine xinerama xml xml2 xmms xv xvid
yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 foser (RETIRED) gentoo-dev 2005-04-04 04:10:10 UTC
problem #1 just looks like a permissions problem to me and you should solve that on your disk.

problem #2 is discussed in another bug : #83025