gulp-tar
gulp-tar copied to clipboard
[directory permissions] tar screwed on windows ?
hej, I am using gulp-tar within a auto-deploy build chain for an express application, and it works fine when using it on linux machines => unfortunately i also have to make it run on windows boxes:
- when i create a tarball on my windows box via: ..... return gulp.src(_src) .pipe(tar(PACKAGE+'.tar')) .pipe(gzip()) .pipe(gulp.dest(DIST));
- it creates a fine PACKAGE.tar.gz file
- when i ship/scp this to the prudction (linux) server and run the deploy script there .... tar -zxvf PACKAGE.tar.gz
- it starts to unpack but fails with "..Cannot open: Permission denied.."
- which roots from the fact that all directories are also set with 644 permission instead of 755 !
any advice ? greetings from vienna/austria gerold.