Author Topic: Linux, external USB drives and headaches  (Read 1024 times)

0 Members and 1 Guest are viewing this topic.

Offline Ghostavo

  • 210
  • Let it be glue!
    • Skype
    • Steam
    • Twitter
Linux, external USB drives and headaches
Over the past few weeks and due to events outside of my control, I've been forced to "upgrade" to Gentoo Linux. After all that confusion of installing and configuring every single damned thing that the distribution and desktop environment had to offer I found myself wanting to read what I had backed up from a previous installation and after doing all that stuff just to get the OS and DE up and running, I thought that it would be simple. I mean, how hard can it be to mount a partition, an external USB hard drive at that, after compilling the kernel and digging through website upon website to configure xorg and the make file from scratch?

Little did I know the OS hates my guts. I configured the fstab with what limited knowledge I have and tested it using the root account. Everything worked perfectly... too perfectly, I should have seen it coming. So imagine my surprise when I mount the drive with my user account it refuses to let me do anything to it, literally not giving me the permission do do so. I can't read it, I can't write to it, I can't do a thing. Just mount and unmount. What's strange is this just happens with just my user account and not with root.

So before I ask away I give you the relevant part of my fstab:
Code: [Select]
/dev/sda1               /mnt/usbdrive   auto            rw,noauto,user  0 0
My user account has access to the following groups besides my own user account group:
Code: [Select]
adm wheel floppy audio cdrom dialout tape video usb portage plugdev
Please, will someone tell me the stupid little thing I've forgot to do?  :confused:
"Closing the Box" - a campaign in the making :nervous:

Shrike is a dirty dirty admin, he's the destroyer of souls... oh god, let it be glue...

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Linux, external USB drives and headaches
i think you need to go in as root and change the permissions of the drive mount point or whatever. i forget how to do this.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Ghostavo

  • 210
  • Let it be glue!
    • Skype
    • Steam
    • Twitter
Re: Linux, external USB drives and headaches
Thanks, and the sake of completion, forgot to put umask in the fstab, annoying little bugger.  :nervous:
"Closing the Box" - a campaign in the making :nervous:

Shrike is a dirty dirty admin, he's the destroyer of souls... oh god, let it be glue...

 

Offline Tyrian

  • 29
  • Dangerous When Thinking
Re: Linux, external USB drives and headaches
I believe you want to go in as root and use the following command:

chmod 775 <drive>

That should do it, but I'm 100% familiar with Linux.  But I'm learning.
Want to be famous?  Click here and become a playing card!!!

Bush (Verb) -- To do stupid things with confidence.

This year, both Groundhog Day and the State of the Union Address occurred during the same week.  This is an ironic juxtaposition of events--one involves a meaningless ritual in which we look to a creature of little intelligence for prognostication, while the other involves a groundhog.

Bumper stickers at my college:
"Republicans for Voldemort!"
"Frodo failed.  Bush got the Ring."

Resistance is futile!  (If < 1 ohm...)

"Any nation which sacrifices a little liberty for a little security deserves neither and loses both." -- Benjamin Franklin

Sig rising...

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Linux, external USB drives and headaches
thats the bugger.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Linux, external USB drives and headaches
I think you're looking for "umask=022", where 022 is the permissions for the mounted folder. 022 is what I used for NTFS for read-only, as write support was noted as being experimental and extremely limited at that time.

In the command line:

"mount /dev/sda1 /mnt/usb -o umask=022" IIRC.
-C