View previous topic :: View next topic |
Author |
Message |
RangerDude Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 19 Apr 2003 Posts: 301
|
Posted: Sun May 09, 2004 4:29 pm Post subject: Gtkterm can't create lockfile |
|
|
I really like gtkterm for using my serial ports.
The only problem is that it only works as root.
When running as normal user, I get
Code: | Cannot create lockfile. Sorry. |
It looks like only root is allowed to lock a serial port.
Anybody have a fix? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
billium Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Mar 2003 Posts: 185
|
Posted: Mon May 10, 2004 12:34 am Post subject: |
|
|
Hello RangerDude
I don't know if this is the proper accepted way but this works:
Code: | chgrp tty /var/lock/
chmod g+w /var/lock
|
Then put your user(s) in the tty group.
The raw file receive of gtkterm is good for downloads from my Textonics scope .
Billy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RangerDude Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 19 Apr 2003 Posts: 301
|
Posted: Tue May 11, 2004 6:05 pm Post subject: |
|
|
Yo.
Thanks for the reply.
/var/lock is currently
Code: | drwxr-xr-x 3 root uucp. |
Is it safe to change that group or to add a user to that group? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
billium Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Mar 2003 Posts: 185
|
Posted: Tue May 11, 2004 10:02 pm Post subject: |
|
|
I changed the group of the directory, but I can't see why you can't just add the user of the serial port to uucp, but uucp group must have write permission. Experts may have an opinion!
Billy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RangerDude Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 19 Apr 2003 Posts: 301
|
Posted: Fri May 14, 2004 9:50 am Post subject: |
|
|
Ok thanks. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|