How do I automount or change permissions to usb flash drive?

Opensuse 11.1 used to automount my flash drives, but after I deleted a few programs I thought I did not need, it does not automount anymore. I am able to manually mount my usb flash drive using “sudo mount /dev/sdb1 /media/sdb1
ls /media/sdb1”. I can open files up from my flash drive, but I cannot save anything on to it. If I try to save/copy anything onto it, I get one of the following messages:

“There was an error copying the file into /media/sdb1.”

OR

“The folder “untitled folder” cannot be copied because you do not have permissions to create it in the destination.”

OR

When using OpenOffice:“error saving document: Object not accessible. The Object cannot be accessed due to insufficient user rights.”

I tried chown, but it did not succeed (I am new to Suse, though, so maybe I messed up on chown because I don’t know how to use terminal very well). After deleting some programs I thought I didn’t need, I have been having problems with permissions, accessing the Trash folder, and the computer’s ability to auto-mount CDs upon rebooting and getting to the Welcome screen.

How do I change my use rights/permissions, and will that solve my problem of being able to save things to my flash drive? How to I get Opensuse to automount my flash drives again? Thanks!

It’s (presumaby) a fat32 aprtition. If you mount it like this, wou’ll be able to read/wrtie it:

sudo mount -t vfat -o uid=your_name,gid=users,utf8 /dev/sdb1 /media/sdb1

Put you username in place of your_name

Reference: openSUSE: HowTo set disk access permissions for Fat32 (VFAT) on a desktop PC

PS I don’t know how to fix the failure to automount – hope for more help to happen by

Thank you so much, swerdna! I got my schoolwork saved!

That must have been an anxious moment :slight_smile: