LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 05-05-2009, 09:07 PM   #1
ArthurHuang
Member
 
Registered: Jan 2006
Posts: 174

Rep: Reputation: 30
how to mount usb as normal user???


I know root can, but how does a normal user mount a usb disk, like ipod?

thankS!
 
Old 05-05-2009, 10:24 PM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
I wish you told us which distro you're using...

Anyway, mount is only available to root so normal users can't use the "mount" command themselves. However, you may have noticed (or maybe you haven't) that if you're running Gnome and insert a CD or USB stick then they get mounted for you.

From your post, I'm not sure if you knew this already and are asking how this happens, or if you didn't know it already and therefore this is an answer to your question.
 
Old 05-06-2009, 07:46 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by blacky_5251 View Post
I wish you told us which distro you're using...

Anyway, mount is only available to root so normal users can't use the "mount" command themselves. However, you may have noticed (or maybe you haven't) that if you're running Gnome and insert a CD or USB stick then they get mounted for you.

From your post, I'm not sure if you knew this already and are asking how this happens, or if you didn't know it already and therefore this is an answer to your question.
To add; 'Only the super-user may mount and unmount filesystems.'

A 'user' can use the mount command in a limited fashion to show the mounts available as long as the command is in the '$PATH' for that user. The user cannot mount or umount a filesystem.
 
  


Reply



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
Unable to mount USB HDD as normal user brisbin33 Arch 3 07-25-2008 06:10 AM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
cannot mount as normal user dave`2005 Linux - Newbie 3 03-16-2006 07:36 PM
normal user can mount? vacilus Linux - Software 1 12-22-2004 11:39 AM
normal user cannot use mount command mrosati Slackware 4 01-05-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:19 AM.

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