adb locat - cannot redirect to textfile - read only filesystem When I trie to show logs of a specific priority in logcat and direct the stream to a textfile I get the following error message:

 1|shell@android:/ $ adb logcat "*:W" &gt; logcat.txt                             
 /system/bin/sh: can't create logcat.txt: Read-only file system


What has the Read-only file system to do with directing the output to textfile? How do I get around this? probably via

chmod +w &lt;file&gt;


but which folder/file in the linux-filesystem of my android device?

Are there better get-arounds?

I can underline that my device is already rooted.
adb logcat on your phone launches an ADB server on your phone (which is also running on your PC) and connects to itself.  

Then you try to write everything to /logcat.txt (/ is the the root of your filesystem; you can't write there).

Try routing your output to something like /sdcard/logcat.txt or run it directly on your PC, where it gets saved in the current working directory of your cmd.exe.