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

I tried creating a file myFile and then typing chmod 000 myFile just to see if I got access denied trying to cat it or open it with vi, but no, I could still do whatever I wanted with it. So what is it with chmod on cygwin? Thanks!

share|improve this question
On what system are you using cygwin? – Gnoupi Jul 2 '10 at 15:37
Windows XP Professional – mring Jul 2 '10 at 15:38
up vote 2 down vote accepted

The most restrictive permission that XP affords (for administrator accounts (which means most XP user)) is read-only or effective Unix mode 0444.

See Why doesn't Cygwin chmod work and weep over Using Windows security in Cygwin

share|improve this answer
that's not really accurate; it's correct for FAT filesystems but most XP systems will be using NTFS. NTFS ACLs aren't directly translatable to standard Unix permissions (tho Unix has a form of ACL as well). – quack quixote Jul 2 '10 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .