LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-04-2009, 10:00 AM   #1
nemesis9
LQ Newbie
 
Registered: Jul 2009
Location: Arizona
Distribution: Redhat Fedora
Posts: 20

Rep: Reputation: 1
halevt run as init script doesn't mount for users


I run halevt as a user, everything is good, I get a mount point, I can access the device, etc. It would be nice to run it as a service using the halevt init script, but in that case, the device doesn't get a mount point, and the user doesn't have access to the device. Is there anyway to make this work for the user who is logged in?

Thanks
 
Old 11-05-2009, 07:38 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello nemesis9,

on my system halevt runs as user root and group plugdev when started by root as a daemon. In this case I get a mountpoint but cannot get writeaccess to the device as a normal user. This is configured in the halevt initscript you refer to.
I think, how to change this depends on your distribution. Roughly speaking: the halevt-deamon must run as a group to which the user belongs as well.

Markus
 
  


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
halevt cannot mount because of permissions senseproof Linux - Software 5 11-20-2010 11:06 AM
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
Run init script as daemon isuck@linux Linux - Software 5 02-12-2007 01:29 AM
Can't get script to run from symlink in etc/init.d goggyturk Debian 5 12-05-2006 12:34 PM
init script won't run at log-off dimangi Linux - Newbie 1 10-29-2003 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:53 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