Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-1-5] src/gnu/usr.bin/tar



Module Name:    src
Committed By:   msaitoh
Date:           Thu Mar 27 08:35:15 UTC 2003

Modified Files:
        src/gnu/usr.bin/tar [netbsd-1-5]: extract.c

Log Message:
Apply patch (requested by wennmach in ticket #38):

 If an entry for a directory into which files are to be extracted is
 missing in an archive, tar handles this by noticing it, and creating
 the necessary directory itself. Since the mode for that directory is
 not regietered in the incomplete archive, tar creates these
 directories mode 0777, expecting the user's umask to strip of all
 unwanted permission bits. However, if tar is called with the -p
 option (preserve modes) the umask is cleared, and thus directories not
 contained in the archive are created mode 0777. The attached patch
 fixes this by honouring the umask in this special case.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.10.1 src/gnu/usr.bin/tar/extract.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index