LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-20-2010, 08:16 AM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Rep: Reputation: 68
Halevt mounts drives as "read only" for normal user


Howdy All,

So I am using Ubuntu 10.04, with the Enlightenment WM, with nautilus for my file manager and I have installed the halevt package to handle the mounting of my external media.

My issue now is that when I mount the media as a normal user it is being mounted as read only - any ideas how I can have halevt mount the media so I can write to it as my normal user in addition to reading from it?

Cheers,
~Jeff
 
Old 11-22-2010, 08:08 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Apparently, others have encountered this problem.

This article from the Archwiki on configuring halevt recommends not starting it as a global daemon because that might cause conflicts.

I've never used it, but it could be that, if it starts as a global daemon, it would run under root authority; that might give ownership of devices it mounts to root.

You can put the devices in your fstab with the "user,rw" flags. You don't have to know the UUIDs to put them in the fstab. You could use a line like

Code:
/dev/[mountpoint]   /media/[directory]     [filetype]      (no)auto,user,rw         0     0
Just for curiosity, did the devices mount okay without halevt? If so, what does halevt do for you to make it worth your while (in other words, why would I want to consider it)?
 
Old 11-23-2010, 07:31 AM   #3
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Original Poster
Rep: Reputation: 68
The devices do not mount without halevt. In fact if I do not have halevt install I am simply informed I am not authorized when I click on a driver under nautilus.

I'd rather not make edits to fstab. Is there someway other than halevt to handle the mounting of media as a normal user?

~Jeff
 
Old 11-23-2010, 07:56 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Quote:
Originally Posted by Jeff91 View Post
The devices do not mount without halevt. In fact if I do not have halevt install I am simply informed I am not authorized when I click on a driver under nautilus.
That's odd. When I plug in a USB mass storage device (camera, podplayer, drive), it has been detected and mounted automatically in any computer I've used since the 2.6.x kernel release without my having to do anything special, like add myself to additional groups and so on.

Even if I'm not using Gnome or KDE (and I usually use Fluxbox), the devices appear in Nautilus or Konqueror. I think something more must be going on.

Don't let editing the fstab frighten you (and it did intimidate me terribly the first time I did it--it reminded me of the time I tried to order a meal in Montreal using my high school French--the waiter finally took mercy on me and started talking English, but that's another story). In my limited experience, as long as you don't mess up the existing devices like sda1 or hda1 or cdrom, the worst that that is likely to happen is that the items you add won't work.

Just in case, make a backup (many text editors to that automatically) and proofread carefully.

Here's a thought.

Mount one of the devices using halevt, then go to Nautilus and find it in /media. Find out the mount point in /dev, go to the /dev/[mountpoint], right click on it, and note the properties and permissions.

I just did this with my external USB HDD. It showed root as the owner; root and the "disk" group had read/write permissions. Then check whether your user is in the "disk" group.
 
  


Reply

Tags
halevt



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
How secure to grant "reload" privileges to a normal user in MySql deepakdeore2004 Linux - Security 2 10-20-2010 08:42 AM
User NFS mounts - "mount: only root can do that" arashi256 Linux - Networking 2 06-25-2010 01:07 PM
USB hard drive mounts as "Read Only Filesystem" augu2000 Linux - Hardware 11 07-12-2007 10:37 AM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 02:05 PM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 PM.

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