public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Using modem under dosemu 1.1.5
@ 2003-07-13 17:49 Ralph Alvy
  2003-07-13 18:13 ` Rick Knight
  2003-07-13 21:23 ` Claudia Neumann
  0 siblings, 2 replies; 10+ messages in thread
From: Ralph Alvy @ 2003-07-13 17:49 UTC (permalink / raw)
  To: linux-msdos

I think this may be the last thing I need to get everything I need to 
run under dosemu ... I can't get access to the modem, which I have 
connected to my serial port on com 1. I have

	$_com1 = "/dev/modem"

But when I load dosemu 1.1.5, I see this:

	ERROR: tty: lock: (/var/lock/LCK..modem): Permisssion denied

I tried to resolve this by putting myself in the groups uucp and lock, 
but that fails to solve it.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-13 17:49 Using modem under dosemu 1.1.5 Ralph Alvy
@ 2003-07-13 18:13 ` Rick Knight
  2003-07-13 21:23 ` Claudia Neumann
  1 sibling, 0 replies; 10+ messages in thread
From: Rick Knight @ 2003-07-13 18:13 UTC (permalink / raw)
  To: Ralph Alvy; +Cc: linux-msdos

Ralph,

Check the permissions on /dev/ttyS0 (or 1 etc) and on whatever it links 
to. On my Slackware 9.0 system the /dev/ttyS0 links to /dev/tts/0 which  
was set read/write for root only. Changed it to read/write everyone 
(0666 I think) and everything worked great. Also, if you are using devfs 
you might need to modify /etc/devfsd.conf to save permissions accross 
re-boots.

Hope this helps,
Rick Knight
(rick@rlknight.com)


Ralph Alvy wrote:

> I think this may be the last thing I need to get everything I need to 
> run under dosemu ... I can't get access to the modem, which I have 
> connected to my serial port on com 1. I have
>
>     $_com1 = "/dev/modem"
>
> But when I load dosemu 1.1.5, I see this:
>
>     ERROR: tty: lock: (/var/lock/LCK..modem): Permisssion denied
>
> I tried to resolve this by putting myself in the groups uucp and lock, 
> but that fails to solve it.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-13 17:49 Using modem under dosemu 1.1.5 Ralph Alvy
  2003-07-13 18:13 ` Rick Knight
@ 2003-07-13 21:23 ` Claudia Neumann
  2003-07-13 22:35   ` Justin Zygmont
  2003-07-13 23:40   ` Ralph Alvy
  1 sibling, 2 replies; 10+ messages in thread
From: Claudia Neumann @ 2003-07-13 21:23 UTC (permalink / raw)
  To: linux-msdos

Am Sonntag, 13. Juli 2003 19:49 schrieb Ralph Alvy:
> I think this may be the last thing I need to get everything I need to
> run under dosemu ... I can't get access to the modem, which I have
> connected to my serial port on com 1. I have
>
> 	$_com1 = "/dev/modem"
>
> But when I load dosemu 1.1.5, I see this:
>
> 	ERROR: tty: lock: (/var/lock/LCK..modem): Permisssion denied
>
> I tried to resolve this by putting myself in the groups uucp and lock,
> but that fails to solve it.
>
Hi,

it is not the permission for /dev/ttyS1 but the directory /var/lock must exist 
and you must have wright permission for this directory, otherwise dosemu will 
not access the port.

Regards

Claudia


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-13 21:23 ` Claudia Neumann
@ 2003-07-13 22:35   ` Justin Zygmont
  2003-07-14  6:28     ` Ged Haywood
  2003-07-13 23:40   ` Ralph Alvy
  1 sibling, 1 reply; 10+ messages in thread
From: Justin Zygmont @ 2003-07-13 22:35 UTC (permalink / raw)
  To: Claudia Neumann; +Cc: linux-msdos

I'm suprised to see that I cannot add [write] permissions to others for 
the /var/lock dorectory.  It just stays at 775.  Has anyone else had this 
or know why?  i'm using rh9.



On Sun, 13 Jul 2003, Claudia Neumann wrote:

> Am Sonntag, 13. Juli 2003 19:49 schrieb Ralph Alvy:
> > I think this may be the last thing I need to get everything I need to
> > run under dosemu ... I can't get access to the modem, which I have
> > connected to my serial port on com 1. I have
> >
> > 	$_com1 = "/dev/modem"
> >
> > But when I load dosemu 1.1.5, I see this:
> >
> > 	ERROR: tty: lock: (/var/lock/LCK..modem): Permisssion denied
> >
> > I tried to resolve this by putting myself in the groups uucp and lock,
> > but that fails to solve it.
> >
> Hi,
> 
> it is not the permission for /dev/ttyS1 but the directory /var/lock must exist 
> and you must have wright permission for this directory, otherwise dosemu will 
> not access the port.
> 
> Regards
> 
> Claudia
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-13 21:23 ` Claudia Neumann
  2003-07-13 22:35   ` Justin Zygmont
@ 2003-07-13 23:40   ` Ralph Alvy
  1 sibling, 0 replies; 10+ messages in thread
From: Ralph Alvy @ 2003-07-13 23:40 UTC (permalink / raw)
  To: linux-msdos

Claudia Neumann wrote:
> Am Sonntag, 13. Juli 2003 19:49 schrieb Ralph Alvy:
> 
>>I think this may be the last thing I need to get everything I need to
>>run under dosemu ... I can't get access to the modem, which I have
>>connected to my serial port on com 1. I have
>>
>>	$_com1 = "/dev/modem"
>>
>>But when I load dosemu 1.1.5, I see this:
>>
>>	ERROR: tty: lock: (/var/lock/LCK..modem): Permisssion denied
>>
>>I tried to resolve this by putting myself in the groups uucp and lock,
>>but that fails to solve it.
>>
> 
> Hi,
> 
> it is not the permission for /dev/ttyS1 but the directory /var/lock must exist 
> and you must have wright permission for this directory, otherwise dosemu will 
> not access the port.
> 
> Regards
> 
> Claudia

I *have* write permission for that directory, but I can only use the 
modem under dosemu as root.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-13 22:35   ` Justin Zygmont
@ 2003-07-14  6:28     ` Ged Haywood
  2003-07-14 21:34       ` Claudia Neumann
  0 siblings, 1 reply; 10+ messages in thread
From: Ged Haywood @ 2003-07-14  6:28 UTC (permalink / raw)
  To: Justin Zygmont; +Cc: DOSEMU users mailing list

Hi there,

On Sun, 13 Jul 2003, Justin Zygmont wrote:

> I'm suprised to see that I cannot add [write] permissions to others for 
> the /var/lock dorectory.  It just stays at 775.  Has anyone else had this 
> or know why?  i'm using rh9.
> 

You can, but I think you'll find that in your startup scripts, Red Hat
have put a command which sets those permissions at boot time.  It's a
historical Unix-type thing.  You shouldn't need to be doing that to
files in /var/lock anyway, it's a terrible security hole.

73,
Ged.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-14  6:28     ` Ged Haywood
@ 2003-07-14 21:34       ` Claudia Neumann
  2003-07-15  4:16         ` Justin Zygmont
  0 siblings, 1 reply; 10+ messages in thread
From: Claudia Neumann @ 2003-07-14 21:34 UTC (permalink / raw)
  To: linux-msdos

Am Montag, 14. Juli 2003 08:28 schrieb Ged Haywood:
> Hi there,
>
> On Sun, 13 Jul 2003, Justin Zygmont wrote:
> > I'm suprised to see that I cannot add [write] permissions to others for
> > the /var/lock dorectory.  It just stays at 775.  Has anyone else had this
> > or know why?  i'm using rh9.
>
> You can, but I think you'll find that in your startup scripts, Red Hat
> have put a command which sets those permissions at boot time.  It's a
> historical Unix-type thing.  You shouldn't need to be doing that to
> files in /var/lock anyway, it's a terrible security hole.
>

You could change the lock-directory in your .dosemurc for example to

$_ttylocks = "/home/user/dosemu/lock" 

and the problem with wright permission and security is solved.

Regards

Claudia

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-14 21:34       ` Claudia Neumann
@ 2003-07-15  4:16         ` Justin Zygmont
  2003-07-15  5:08           ` Ralph Alvy
  0 siblings, 1 reply; 10+ messages in thread
From: Justin Zygmont @ 2003-07-15  4:16 UTC (permalink / raw)
  To: Claudia Neumann; +Cc: linux-msdos

I got it now, all it was the $ttylocks setting in dosemu.conf.  This 
should be set to /var/lock instead of the default "" which points to the 
depreciated /usr/spool/uucp directory, that didn't exist. 



On Mon, 14 Jul 2003, Claudia Neumann wrote:

> Am Montag, 14. Juli 2003 08:28 schrieb Ged Haywood:
> > Hi there,
> >
> > On Sun, 13 Jul 2003, Justin Zygmont wrote:
> > > I'm suprised to see that I cannot add [write] permissions to others for
> > > the /var/lock dorectory.  It just stays at 775.  Has anyone else had this
> > > or know why?  i'm using rh9.
> >
> > You can, but I think you'll find that in your startup scripts, Red Hat
> > have put a command which sets those permissions at boot time.  It's a
> > historical Unix-type thing.  You shouldn't need to be doing that to
> > files in /var/lock anyway, it's a terrible security hole.
> >
> 
> You could change the lock-directory in your .dosemurc for example to
> 
> $_ttylocks = "/home/user/dosemu/lock" 
> 
> and the problem with wright permission and security is solved.
> 
> Regards
> 
> Claudia
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-15  4:16         ` Justin Zygmont
@ 2003-07-15  5:08           ` Ralph Alvy
  2003-07-15  5:12             ` Justin Zygmont
  0 siblings, 1 reply; 10+ messages in thread
From: Ralph Alvy @ 2003-07-15  5:08 UTC (permalink / raw)
  To: linux-msdos

Hmmm...doesn't seem to help me. I still get the same error message as usual.

Justin Zygmont wrote:
> I got it now, all it was the $ttylocks setting in dosemu.conf.  This 
> should be set to /var/lock instead of the default "" which points to the 
> depreciated /usr/spool/uucp directory, that didn't exist. 
> 
> 
> 
> On Mon, 14 Jul 2003, Claudia Neumann wrote:
> 
> 
>>Am Montag, 14. Juli 2003 08:28 schrieb Ged Haywood:
>>
>>>Hi there,
>>>
>>>On Sun, 13 Jul 2003, Justin Zygmont wrote:
>>>
>>>>I'm suprised to see that I cannot add [write] permissions to others for
>>>>the /var/lock dorectory.  It just stays at 775.  Has anyone else had this
>>>>or know why?  i'm using rh9.
>>>
>>>You can, but I think you'll find that in your startup scripts, Red Hat
>>>have put a command which sets those permissions at boot time.  It's a
>>>historical Unix-type thing.  You shouldn't need to be doing that to
>>>files in /var/lock anyway, it's a terrible security hole.
>>>
>>
>>You could change the lock-directory in your .dosemurc for example to
>>
>>$_ttylocks = "/home/user/dosemu/lock" 
>>
>>and the problem with wright permission and security is solved.
>>
>>Regards
>>
>>Claudia
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Using modem under dosemu 1.1.5
  2003-07-15  5:08           ` Ralph Alvy
@ 2003-07-15  5:12             ` Justin Zygmont
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Zygmont @ 2003-07-15  5:12 UTC (permalink / raw)
  To: Ralph Alvy; +Cc: linux-msdos

this is with rh9, which are you using?  What are the permissions for /var 
and /var/lock?


On Mon, 14 Jul 2003, Ralph Alvy wrote:

> Hmmm...doesn't seem to help me. I still get the same error message as usual.
> 
> Justin Zygmont wrote:
> > I got it now, all it was the $ttylocks setting in dosemu.conf.  This 
> > should be set to /var/lock instead of the default "" which points to the 
> > depreciated /usr/spool/uucp directory, that didn't exist. 
> > 
> > 
> > 
> > On Mon, 14 Jul 2003, Claudia Neumann wrote:
> > 
> > 
> >>Am Montag, 14. Juli 2003 08:28 schrieb Ged Haywood:
> >>
> >>>Hi there,
> >>>
> >>>On Sun, 13 Jul 2003, Justin Zygmont wrote:
> >>>
> >>>>I'm suprised to see that I cannot add [write] permissions to others for
> >>>>the /var/lock dorectory.  It just stays at 775.  Has anyone else had this
> >>>>or know why?  i'm using rh9.
> >>>
> >>>You can, but I think you'll find that in your startup scripts, Red Hat
> >>>have put a command which sets those permissions at boot time.  It's a
> >>>historical Unix-type thing.  You shouldn't need to be doing that to
> >>>files in /var/lock anyway, it's a terrible security hole.
> >>>
> >>
> >>You could change the lock-directory in your .dosemurc for example to
> >>
> >>$_ttylocks = "/home/user/dosemu/lock" 
> >>
> >>and the problem with wright permission and security is solved.
> >>
> >>Regards
> >>
> >>Claudia
> >>-
> >>To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> >>the body of a message to majordomo@vger.kernel.org
> >>More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >>
> > 
> > 
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-07-15  5:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-13 17:49 Using modem under dosemu 1.1.5 Ralph Alvy
2003-07-13 18:13 ` Rick Knight
2003-07-13 21:23 ` Claudia Neumann
2003-07-13 22:35   ` Justin Zygmont
2003-07-14  6:28     ` Ged Haywood
2003-07-14 21:34       ` Claudia Neumann
2003-07-15  4:16         ` Justin Zygmont
2003-07-15  5:08           ` Ralph Alvy
2003-07-15  5:12             ` Justin Zygmont
2003-07-13 23:40   ` Ralph Alvy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox