reassign 498705 mgetty-fax 1.1.36-1.3
retitle 498705 mgetty-fax: temporary directory fix breaks mgetty-fax
severity 498705 serious
thanks

Anthony Campbell <[EMAIL PROTECTED]> wrote:

Hi,

> [xsane] xsane_write_compressed_a85_flatedecode
> [xsane] finish
> [xsane] xsane_save_ps_create_document_trailer
> [xsane] trying to change user id for new subprocess:
> [xsane] old effective uid = 1000
> [xsane] new effective uid = 1000
> [xsane] xsane_front_gtk_add_process_to_list(18318)
> mkdir: cannot create directory `/tmp/tmp.XZiBopajES': File exists
> ERROR: can't create work dir '/tmp/tmp.XZiBopajES', giving up
> [xsane] xsane_sigchld_handler
> [xsane] deleteing pid 18318 from list

> Command: faxspool 

I can confirm that the problem lies in mgetty-fax; the fix for #496403
broke the script:

+ # mkdir a directory in $TMP (or /tmp), convert input to G3 in there
+ #
+-spooldir=${TMP:-/tmp}/$new_seq.$$.`date +%S`
++spooldir=`mktemp -t -d`
+ 
+ if ( umask 077 ; mkdir $spooldir ) ; then
+     $echo "spooling to $spooldir (->$new_seq)..."

mktemp -t -d actually creates the directory, the subsequent mkdir then
fails.

JB.

-- 
 Julien BLACHE <[EMAIL PROTECTED]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to