[Pkg-libvirt-maintainers] Bug#629341: virtinst: fails if umask	isn't permissive
    Rob Browning 
    rlb at defaultvalue.org
       
    Sun Jun  5 18:39:12 UTC 2011
    
    
  
Rob Browning <rlb at defaultvalue.org> writes:
> If the relevant files are just temporary files that are used during the
> install, then I'd suggest that they be written with umask 002 to a
> securely created temp dir, i.e. via "mktemp --tmpdir -d", or in python:
>
>   tempfile.mkdtemp(prefix='virtinst-tmp')
Oh, and of course I meant a "securely created *public* temp dir", which
I believe this should do by default.
And the umask would either have to be changed before the
tempfile.mkdtemp() call, or the directory's permissions would have to be
changed to 755 after.
Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
    
    
More information about the Pkg-libvirt-maintainers
mailing list