Fix a bug where tar could change perms and ownership of dirs pointed

to by symlink within a tarball.
 -Erik
This commit is contained in:
Erik Andersen
2000-01-23 02:14:20 +00:00
parent de552874d2
commit 06936df164
5 changed files with 47 additions and 26 deletions

View File

@@ -156,7 +156,7 @@ int recursiveAction(const char *fileName, int recurse, int followLinks, int dept
int (*dirAction) (const char *fileName, struct stat* statbuf));
const char* timeString(time_t timeVal);
extern void createPath (const char *name, int mode);
extern int createPath (const char *name, int mode);
extern int parse_mode( const char* s, mode_t* theMode);
extern void usage(const char *usage) __attribute__ ((noreturn));