Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-04-2006, 07:38 PM   #1 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default mount with normal user.....?


Hi
I wanna know how to mount the filesystems,usb,cdrom etc with normal user ?
mediator is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-04-2006, 07:47 PM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

you should add ur local user's secondary groups as cdrom,games,usb etc
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 16-04-2006, 08:59 PM   #3 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default

Quote:
Originally Posted by prakash kerala
you should add ur local user's secondary groups as cdrom,games,usb etc
This will not help. Adding those additional groups just allows you to be able to use all those things i.e. read cdrom, play games, use USB etc.

To mount drives as normal user you need to put the option "user" in the related line of your /etc/fstab. For example: If I want to allow normal users to mount/unmount my cdrw drive then I have the following line in my /etc/fstab
Code:
/dev/hda                /mnt/cdrom       iso9660       noauto,rw,user           0   0
For more info, you should read "man 8 mount" and "man 5 fstab"
eddie is offline  
Old 16-04-2006, 10:03 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2006
Location: Mohali
Posts: 9
Default

or just set the UGID permission to the MOUNT command as a root user. (but be aware , in providing the mount facility to normal user........can be dangerous) [use man pages for further help]

man chmod

or else use the SUDO utility (see man pages)

man sudo
Dusvidania is offline  
Old 16-04-2006, 11:52 PM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

Even adding umask=000 to that deviice's line in fstab helps. Though I don't have much idea how it works.
mehulved is offline  
Old 17-04-2006, 12:36 AM   #6 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default

@eddie......yea that worked......thanx dood!
@dusvidani.....i was thinking of doing that what u said.......but wanted a solution from fstab only........neway thanx cautioning me.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 17-04-2006, 12:41 AM   #7 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default

Quote:
Originally Posted by tech_your_future
Even adding umask=000 to that deviice's line in fstab helps. Though I don't have much idea how it works.
It gives read/write/exec rights to all users on the partition.
eddie is offline  
Old 17-04-2006, 10:50 AM   #8 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Just add the word users along with default...
vignesh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear

Advertisement




All times are GMT +5.5. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2