Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 would like to find all NON read-only files in my directory using cygwin's find command.

Is it possible ?

share|improve this question

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
share|improve this answer
    
In Cygwin 1.7, Unix file permissions map to Windows access control lists (ACLs) rather than ye olde DOS file attributes. – ak2 Mar 6 '11 at 16:59

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.