-1

I would like to find all NON read-only files in my directory using cygwin's find command.

Is it possible ?

Teddy
  • 5,204
  • 1
  • 23
  • 27
m_vitaly
  • 139
  • 4

1 Answers1

0

It seems that cygwin maps windows file attributes to unix file permissions. So this command works to find all non read-only files:

find . -type f -perm -u+w
m_vitaly
  • 139
  • 4
  • In Cygwin 1.7, Unix file permissions map to Windows access control lists (ACLs) rather than ye olde DOS file attributes. – ak2 Mar 06 '11 at 16:59