1
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!
1
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!
2
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
1that'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 – 2010-07-02T16:54:14.017
On what system are you using cygwin? – Gnoupi – 2010-07-02T15:37:02.120
Windows XP Professional – mring – 2010-07-02T15:38:12.727