LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Thread Tools
Old 11-04-2009, 11:00 AM   #1
nemesis9
LQ Newbie
 
Registered: Jul 2009
Posts: 19
Thanked: 3
halevt run as init script doesn't mount for users


[Log in to get rid of this advertisement]
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
windows_xp_2003 nemesis9 is offline     Reply With Quote
Old 11-05-2009, 08:38 AM   #2
markush
Member
 
Registered: Apr 2007
Location: Germany
Distribution: Gentoo, Slackware
Posts: 380
Thanked: 48
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
linuxgentoo markush is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 4 05-29-2009 07:03 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 05:37 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration