Advertisement
Tritonio

Find user writtable dirs and files

Oct 12th, 2019 (edited)
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Use the 'find' command if you have findutils version 4.3.0 or greater installed:
  2.  
  3. For all files under the current directory that are writable by the current user:
  4.  
  5. find . -writable
  6. For all files under the current directory that are not writable by the current user:
  7.  
  8. find . ! -writable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement