LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 11-04-2009, 11: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, 08:38 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,677

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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


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


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


All times are GMT -5. The time now is 04:54 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration