Nathan, you are brilliant!

This solved my problems. Thanks so much.

Regards,
Fredrik



On Mon, Nov 21, 2011 at 8:03 PM, Nathan Rusch <[email protected]>wrote:

>   Have you tried using a (temporary) umask override?
>
> import os
> import shutil
>
> m = os.umask(0)
> shutil.move(src, dst)
> os.umask(m)
>
> -Nathan
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to