Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-03-2003, 03:11 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Mounting pendrive as a normal user (non-root)

Hello All,

Does anyone know how to mount a pendrive (usb flash memory)
as a normal user? I mean, without the root password?

I have a 256Mb pendrive by SanDisk and it works fine,
both at linux and windows xp, both at home and at my laptop.
In linux I just do:

mount /dev/sda1 -t vfat /mount/pendrive

and everything works fine.... Although, at work, I have to use
their computers and I have no access as root. Is there a
way to do it?

... or I MUST ask for the computer-support to have access to /dev/sda1???


Old 11-03-2003, 03:20 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,397

Rep: Reputation: 163Reputation: 163
or I MUST ask for the computer-support to have access to /dev/sda1???
That's what you're going to have to do. Ordinary users have access to "mount" only if the line in fstab for the device has the "user" option included. To edit that line you need root privileges. You'll also need to add the "noauto " option for a removable device.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't su into root as normal user darin3200 Linux - General 13 03-18-2010 12:03 PM
mounting problems as normal user wisdom Linux - Networking 1 01-19-2005 11:26 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
Root and normal user Smooth Linux - Newbie 4 05-27-2003 11:15 AM
Mounting ISO files as a normal user... Thymox Linux - General 3 02-16-2002 11:32 PM

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration