[sane-devel] qcam: Avoid creating lock file in /tmp/

2002-03-27 Thread w...@astro.umd.edu
> Looks ok. Are you sure that /var/lock is available everywhere? Solaris doesn't have it. Aren't special privileges required to access the /var/lock directory? # ls -ld /var/lock drwxrwxr-x6 root tty 1024 Mar 27 04:02 /var/lock setguid tty, at least, is required

[sane-devel] qcam: Avoid creating lock file in /tmp/

2002-03-25 Thread Henning Meier-Geinitz
Hi, On Sun, Mar 24, 2002 at 06:41:39PM -0600, Frank Zago wrote: > > > Looks ok. Are you sure that /var/lock is available everywhere? > > It on aix 4&5, but not on hpux 11 or solaris 7. If those don't have ioperm or _portaccess qcam won't be compiled. Do they even have a parallel port? As qcam i

[sane-devel] qcam: Avoid creating lock file in /tmp/

2002-03-24 Thread Henning Meier-Geinitz
Hi, On Sun, Mar 24, 2002 at 08:14:02PM +0100, Petter Reinholdtsen wrote: > Reading debian bug #21983, > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=21983> one > discover that there might be a security problem creating files in > /tmp/. The security problem has been fixed 2002-01-11. At leas

[sane-devel] qcam: Avoid creating lock file in /tmp/

2002-03-24 Thread Petter Reinholdtsen
Reading debian bug #21983, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=21983> one discover that there might be a security problem creating files in /tmp/. This also is in conflict with the Linux File Hierarcy Standard. I propose the following patch to fix the problem. Anyone against it?

[sane-devel] qcam: Avoid creating lock file in /tmp/

2002-03-24 Thread Frank Zago
> Looks ok. Are you sure that /var/lock is available everywhere? It on aix 4&5, but not on hpux 11 or solaris 7.