Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there a way to view the Unix permissions for a file under Windows?

share|improve this question
Is it even possible to mount a Unix filesystem under windows? – petersohn May 19 '10 at 10:36
Yes. has an implementation of ext2 for windows. Never ran it, wouldn't necessarily recommend it, but it exists. However, to answer the original question, we need much more information about how the filesystem is being accessed. – gorilla May 19 '10 at 10:46
I actually assemble a zip file with the Maven assembly plugin. I set a parameter so that certain directories have certain file permissions. But when I transfer these directories from my Windows computer to our Linux server, the file permissions aren't set as specified. I just take a shortcut and see directly which directory has which file permissions. – user36938 May 19 '10 at 12:25
So your question is really "Can I view the permissions of a file in a .zip archive"? If this is the case, edit your original question. – gorilla May 19 '10 at 15:27
up vote 5 down vote accepted

IIRC Zip files created on Windows default to 0777 for directories, and 0666 for files when extracted on a UNIXy system using the Info-ZIP tools.

Zip files created on a UNIXy system using the Info-ZIP tools will preserve the actual UNIX permissions.

Info-ZIP's zipinfo command will display these permissions.

You can find Windows binaries of Info-ZIP's tools on their website ( or as part of Cygwin (

(I'm a former Info-ZIP maintainer for the BeOS and QNX platforms. Long ago. :-))

share|improve this answer

You must log in to answer this question.