You are not logged in.
Pages: 1
I've recently installed the Gnome desktop and I can't manage to write to external usb sticks, concretely the one i'm using right now is a FAT32 filesystem. Nautilus does well automounting the drive but neither as normal user nor root I can write anything to it, although I can write to fixed FAT32 partitions.
I paste some configuration files:
.xinitrc has the following line: exec ck-launch-session gnome-session
rc.conf has the following daemons: syslog-ng dbus hal @networkmanager @alsa
My normal and root users are in the storage group
Any idea?
Offline
Do you have dosfstools and mtools installed? What are the permissions where the disk is mounted?
Offline
The disk is mounted at /media/
The permisions are ls -l:
drwx------ 5 aitorkun users 8192 1 gen 1970 A43C-A598
The installation of that packages didn't solve the problem
Offline
drwx------ means the owner has all the needed rights. You can try and mount it manually with some other permissions.
Maybe it's mounted read-only?
Offline
Yes but, if want to mount it automatically?
Offline
Yes but, if want to mount it automatically?
Have you tried manually? if it works, this means you should check the automounting configs,
It's hard to believe that root can't write anything to it. What's the output of
mount | column -t
?
Offline
Oh my God, mounting manually neither works (normal user and root) o.O
The output of the command is this:
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=215400,mode=755)
/dev/sda1 on / type ext4 (rw,commit=0)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/aitorkun/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=aitorkun)
/dev/sda3 on /media/Data type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc on /media/A43C-A598 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,flush)
Offline
Saying 'doesn't work' doesn't work ;P Posting the error message might be more helpful. If the message tells you to check e.g. dmesg, do so and post the results.
A weird name: A43C-A598. What kind of stick is it?
I know nothing about Gnome and udiscs so I'm not sure if I can help here.
Last edited by karol (2010-09-26 14:42:41)
Offline
When I try to create a dir: mkdir: no s'ha pogut crear el directori «/media/A43C-A598/hola»: El sistema de fitxers és només de lectura
It's written in catalan, a translation would be: The directory couldn't be created: The file system is read only.
A43C-A598 is a mp4, i'll try with another usb stick
Offline
I've tried with a pendrive, and I can write in it, although it has also a strange name: 3420-4F80.
So it seems it's a particular problem...
Offline
I know nothing about Gnome and udisks so I'm not sure if I can help here.
Next time, run
LC_MESSAGES=C <command>
so that it 'speaks' English.
I think the names are some kind of id, you need to check the automount settings on how are the mountpoints in /media created.
Is that pendrive also a vfat filesystem?
Last edited by karol (2010-09-26 14:46:13)
Offline
Look what I get when I insert my mp4: (dmesg)
sd 12:0:0:0: [sdc] Attached SCSI removable disk
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem has been set read-only
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem error (dev sdc)
fat_get_cluster: invalid cluster chain (i_pos 0)
Maybe a format will help
Offline
@karol, yes, it is fat
Offline
How can I check that automount settings?
Offline
How can I check that automount settings?
Sorry, I have absolutely no idea.
http://wiki.archlinux.org/index.php/GNO … n_Nautilus
/usr/share/polkit-1/actions/org.freedesktop.udisks.policy may be a good place to start.
Offline
I think I know how to solve the problem:
Offline
Ok, the link before didn't work for me but I managed to solve it nowadays, I explain the solution:
I had to format my mp4
Problem solved.
Regarding to the topic of the names, I've discovered that if the disk has label, it's automatically mounted in /media/<label>, if not in /media/<id>
Thank you very much!
Offline
I'm having the same problem, the link did not work for me neither and I cannot format my disk because of my data on it.
There has got be another way to solve this.
Offline
The alphanumeric "A43C-A598" and "3420-4F80" are UUIDs. You can look up UUID on Wikipedia.
To check and fix errors on a drive with a fat or vfat filesystem, you can run, on an unmounted device:
# fsck -a -w -v /dev/sdXN
The X and N are to be replaced with the actual drive device designations. See the manpages for dosfsck or fsck.vfat for all the available options.
If you would prefer to attempt the filesystem repairs with a graphical tool, I suggest GParted.
If all else fails, you can try to repair the filesystem with MS Windows. If there's an error, that operating system will often repair it automatically, when the device is first plugged in. If it isn't, try the instructions given on this site: http://www.associatedcontent.com/articl … .html?cat=.
Offline
Pages: 1