Perşembe 15 Haziran 2006 15:20 tarihinde, Fredrik Lundh şunları yazmıştı:
> Faik Uygur wrote:
> > While extracting a tar file, is there a way to give an umask option for
> > creating the non-existing upper directories of the file within the tar
> > archive.
>
> os.umask
Nope, this will not help.
Faik Uygur wrote:
> While extracting a tar file, is there a way to give an umask option for
> creating the non-existing upper directories of the file within the tar
> archive.
os.umask
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
While extracting a tar file, is there a way to give an umask option for
creating the non-existing upper directories of the file within the tar
archive.
The default behaviour is to create the directories with 0777 permission bits.
Code taken from tarfile.py of python version 2.4.3: