Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27506 - wvdial not useable for normal user - no permission for /var/lock
Summary: wvdial not useable for normal user - no permission for /var/lock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 18:16 UTC by Björn Michaelsen
Modified: 2003-09-12 06:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the wvdial-1.53-r1 ebuild (wvdial-1.53-r1.diff,245 bytes, patch)
2003-09-07 09:28 UTC, Björn Michaelsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2003-08-28 18:16:32 UTC
Olny root can start wvdial, because it tries to get a lock in
/var/lock/LCK..ttyS* but has no permission in that dir belongs to root:uucp.

Reproducible: Always
Steps to Reproduce:
1. log in as normal user
2. wvdail
Actual Results:  
--> Cannot open /dev/tts/0: Device or resource busy

Expected Results:  
start dialing

possible fix:
let the ebuild do this:
chown root:uucp /usr/bin/wvdial
chmod g+s /usr/bin/wvdial
Comment 1 Björn Michaelsen 2003-09-07 09:08:45 UTC
or add a simple advice to the ebuild that users have to be member of the dialout AND uucp groups to use wvdial
Comment 2 Björn Michaelsen 2003-09-07 09:28:35 UTC
Created attachment 17228 [details, diff]
patch for the wvdial-1.53-r1 ebuild

I modified the ebuild and made a diff with the original ebuild. I hope this
helps.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-12 06:59:47 UTC
thanks bjorn