Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.