Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Could anyone enlighten me on how can I create a regular Unix tarball archive (e.g., tar.gz or tar.bz2) on a Windows box in a way that will mark some files in that archive as "executable" (e.g., with permission flags set like -rwxr-xr-x, 0755) and some files as non-executable (e.g., with something like -rw-r--r--, 0644)?

I know that one can use:

  • 7-Zip to create tarballs using a Windows box, but it seems that it can't set custom flags on certain files when doing a tarball and sets everything as -rwxrwxrwx, 0777.
  • Normal GNU utilities port (such as MinGW or Cygwin), which require one to do some command line magic - that's perfectly ok for me, but could be bothersome for some users.
  • Remote or virtual Linux/BSD installation and then again, use normal tar / gzip / bzip2 commands.

Any more user-friendly solutions?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.