Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gtkterm can't create lockfile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Sun May 09, 2004 4:29 pm    Post subject: Gtkterm can't create lockfile Reply with quote

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
View user's profile Send private message
billium
Apprentice
Apprentice


Joined: 22 Mar 2003
Posts: 185

PostPosted: Mon May 10, 2004 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Tue May 11, 2004 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
billium
Apprentice
Apprentice


Joined: 22 Mar 2003
Posts: 185

PostPosted: Tue May 11, 2004 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Fri May 14, 2004 9:50 am    Post subject: Reply with quote

Ok thanks. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum